Allow remove video transformer option.

PiperOrigin-RevId: 406849436
This commit is contained in:
samrobinson 2021-11-01 16:49:44 +00:00 committed by Ian Baker
parent 90f74dc7a1
commit c3fbe2e1d3

View File

@ -483,7 +483,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;