Make ExportResult.processedInputs package private
Rational for keeping field package private: Since the overall export already very complex, by looking at the output file its hard to know if the desired processing happened or not. Since we now support sequences with "n" media items, its even more important to know if all the media items were processed or not. Although the field exposes implementation details, it seems ok as we get benefit of detailed testing. PiperOrigin-RevId: 642337888
This commit is contained in:
parent
2416ec1cb5
commit
859ef082d4
@ -7,6 +7,10 @@
|
||||
* Add `ExoPlayer.isReleased()` to check whether `Exoplayer.release()` has
|
||||
been called.
|
||||
* Transformer:
|
||||
* Remove `ExportResult.processedInputs` field. If you use this field for
|
||||
codec details, then use `DefaultDecoderFactory.listener` instead. In
|
||||
case of a codec exception, codec details will be available in the
|
||||
`ExportException.codecInfo`.
|
||||
* Track Selection:
|
||||
* Extractors:
|
||||
* Audio:
|
||||
|
@ -410,13 +410,6 @@ public final class ExportResult {
|
||||
/** The track was both transcoded and transmuxed. */
|
||||
public static final int CONVERSION_PROCESS_TRANSMUXED_AND_TRANSCODED = 3;
|
||||
|
||||
/**
|
||||
* The list of {@linkplain ProcessedInput processed inputs}. The list might have some intermediate
|
||||
* {@linkplain ProcessedInput processed inputs} if the export is {@link Transformer#resume
|
||||
* resumed} or any optimization is applied.
|
||||
*/
|
||||
public final ImmutableList<ProcessedInput> processedInputs;
|
||||
|
||||
/** The duration of the file in milliseconds, or {@link C#TIME_UNSET} if unset or unknown. */
|
||||
public final long durationMs;
|
||||
|
||||
@ -478,6 +471,13 @@ public final class ExportResult {
|
||||
/** Returns the {@link ConversionProcess} taken to create the audio track in the output file. */
|
||||
public final @ConversionProcess int audioConversionProcess;
|
||||
|
||||
/**
|
||||
* The list of {@linkplain ProcessedInput processed inputs}. The list might have some intermediate
|
||||
* {@linkplain ProcessedInput processed inputs} if the export is {@link Transformer#resume
|
||||
* resumed} or any optimization is applied.
|
||||
*/
|
||||
/* package */ final ImmutableList<ProcessedInput> processedInputs;
|
||||
|
||||
private ExportResult(
|
||||
ImmutableList<ProcessedInput> processedInputs,
|
||||
long durationMs,
|
||||
|
Loading…
x
Reference in New Issue
Block a user