mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Allow remove video transformer option.
PiperOrigin-RevId: 406849436
This commit is contained in:
parent
90f74dc7a1
commit
c3fbe2e1d3
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user