mirror of
https://github.com/samsonjs/media.git
synced 2026-03-27 09:45:47 +00:00
Composition: clarify javadoc to setTransmuxAudio\Video
Document that assoicated effects are ignored if these setters are set
PiperOrigin-RevId: 613518167
(cherry picked from commit 5b7774fcaf)
This commit is contained in:
parent
41771d7fa3
commit
2dc2e5daf1
1 changed files with 4 additions and 2 deletions
|
|
@ -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…
Reference in a new issue