mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Composition: clarify javadoc to setTransmuxAudio\Video
Document that assoicated effects are ignored if these setters are set PiperOrigin-RevId: 613518167
This commit is contained in:
parent
afacf2cdb7
commit
5b7774fcaf
@ -173,7 +173,8 @@ public final class Composition {
|
||||
* the audio tracks are transcoded by default. They are all transmuxed if {@code transmuxAudio}
|
||||
* is {@code true}. Transmuxed tracks must be compatible (typically, all the {@link MediaItem}
|
||||
* instances containing the track to transmux are concatenated in a single {@link
|
||||
* EditedMediaItemSequence} and have the same sample format for that track).
|
||||
* EditedMediaItemSequence} and have the same sample format for that track). Any transcoding
|
||||
* effects requested will be ignored.
|
||||
*
|
||||
* <p>Requesting audio transmuxing and {@linkplain #experimentalSetForceAudioTrack(boolean)
|
||||
* forcing an audio track} are not allowed together because generating silence requires
|
||||
@ -200,7 +201,8 @@ public final class Composition {
|
||||
* the video tracks are transcoded by default. They are all transmuxed if {@code transmuxVideo}
|
||||
* is {@code true}. Transmuxed tracks must be compatible (typically, all the {@link MediaItem}
|
||||
* instances containing the track to transmux are concatenated in a single {@link
|
||||
* EditedMediaItemSequence} and have the same sample format for that track).
|
||||
* EditedMediaItemSequence} and have the same sample format for that track). Any transcoding
|
||||
* effects requested will be ignored.
|
||||
*
|
||||
* @param transmuxVideo Whether to transmux the video tracks.
|
||||
* @return This builder.
|
||||
|
Loading…
x
Reference in New Issue
Block a user