diff --git a/library/transformer/src/main/java/com/google/android/exoplayer2/transformer/Transformer.java b/library/transformer/src/main/java/com/google/android/exoplayer2/transformer/Transformer.java index 2a3055bcf2..aa00ceb5cf 100644 --- a/library/transformer/src/main/java/com/google/android/exoplayer2/transformer/Transformer.java +++ b/library/transformer/src/main/java/com/google/android/exoplayer2/transformer/Transformer.java @@ -26,7 +26,6 @@ import static java.lang.Math.min; import static java.lang.annotation.ElementType.TYPE_USE; import android.content.Context; -import android.graphics.Matrix; import android.os.Handler; import android.os.Looper; import android.os.ParcelFileDescriptor; @@ -223,24 +222,6 @@ public final class Transformer { return this; } - /** @deprecated Use {@link TransformationRequest.Builder#setResolution(int)} instead. */ - @Deprecated - public Builder setResolution(int outputHeight) { - transformationRequest = transformationRequest.buildUpon().setResolution(outputHeight).build(); - return this; - } - - /** - * @deprecated Use {@link TransformationRequest.Builder#setTransformationMatrix(Matrix)} - * instead. - */ - @Deprecated - public Builder setTransformationMatrix(Matrix transformationMatrix) { - transformationRequest = - transformationRequest.buildUpon().setTransformationMatrix(transformationMatrix).build(); - return this; - } - /** * @deprecated This feature will be removed in a following release and the MIME type of the * output will always be MP4. @@ -251,22 +232,6 @@ public final class Transformer { return this; } - /** @deprecated Use {@link TransformationRequest.Builder#setVideoMimeType(String)} instead. */ - @Deprecated - public Builder setVideoMimeType(String videoMimeType) { - transformationRequest = - transformationRequest.buildUpon().setVideoMimeType(videoMimeType).build(); - return this; - } - - /** @deprecated Use {@link TransformationRequest.Builder#setAudioMimeType(String)} instead. */ - @Deprecated - public Builder setAudioMimeType(String audioMimeType) { - transformationRequest = - transformationRequest.buildUpon().setAudioMimeType(audioMimeType).build(); - return this; - } - /** * @deprecated Use {@link #addListener(Listener)}, {@link #removeListener(Listener)} or {@link * #removeAllListeners()} instead.