Allow remove video transformer option.

PiperOrigin-RevId: 406849436
This commit is contained in:
samrobinson 2021-11-01 16:49:44 +00:00 committed by tonihei
parent 58f36fb854
commit 2c2705aa6b

View file

@ -481,7 +481,6 @@ public final class TranscodingTransformer {
checkState(
!transformation.removeAudio || !transformation.removeVideo,
"Audio and video cannot both be removed.");
checkState(!(transformation.removeVideo));
this.context = context;
this.mediaSourceFactory = mediaSourceFactory;
this.muxerFactory = muxerFactory;