Commit c3fbe2e1 by samrobinson Committed by Ian Baker

Allow remove video transformer option.

PiperOrigin-RevId: 406849436
parent 90f74dc7
...@@ -483,7 +483,6 @@ public final class TranscodingTransformer { ...@@ -483,7 +483,6 @@ public final class TranscodingTransformer {
checkState( checkState(
!transformation.removeAudio || !transformation.removeVideo, !transformation.removeAudio || !transformation.removeVideo,
"Audio and video cannot both be removed."); "Audio and video cannot both be removed.");
checkState(!(transformation.removeVideo));
this.context = context; this.context = context;
this.mediaSourceFactory = mediaSourceFactory; this.mediaSourceFactory = mediaSourceFactory;
this.muxerFactory = muxerFactory; this.muxerFactory = muxerFactory;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment