Commit 3612874d by kimvde Committed by Ian Baker

Miscellaneous fixes to FragmentedMp4Extractor

ISSUE: #7308
PiperOrigin-RevId: 319747742
parent 64a24e08
...@@ -203,7 +203,8 @@ ...@@ -203,7 +203,8 @@
([#6410](https://github.com/google/ExoPlayer/issues/6410)). ([#6410](https://github.com/google/ExoPlayer/issues/6410)).
* Select first extractors based on the filename extension and the response * Select first extractors based on the filename extension and the response
headers mime type in `DefaultExtractorsFactory`. headers mime type in `DefaultExtractorsFactory`.
* Add support for partially fragmented MP4s. * Add support for partially fragmented MP4s
([#7308](https://github.com/google/ExoPlayer/issues/7308)).
* Testing * Testing
* Add `TestExoPlayer`, a utility class with APIs to create * Add `TestExoPlayer`, a utility class with APIs to create
`SimpleExoPlayer` instances with fake components for testing. `SimpleExoPlayer` instances with fake components for testing.
......
...@@ -1565,7 +1565,7 @@ public class FragmentedMp4Extractor implements Extractor { ...@@ -1565,7 +1565,7 @@ public class FragmentedMp4Extractor implements Extractor {
output.format(format); output.format(format);
} }
/** Resets the current fragment, sample indices and {@code isInFragment} boolean. */ /** Resets the current fragment, sample indices and {@link #currentlyInFragment} boolean. */
public void reset() { public void reset() {
fragment.reset(); fragment.reset();
currentSampleIndex = 0; currentSampleIndex = 0;
......
...@@ -89,8 +89,8 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull; ...@@ -89,8 +89,8 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
*/ */
public boolean sampleEncryptionDataNeedsFill; public boolean sampleEncryptionDataNeedsFill;
/** /**
* The absolute decode time of the start of the next fragment, excluding the samples outside * The duration of all samples defined in fragments up to and including this one. Samples defined
* fragments. * in the moov box are not included.
*/ */
public long nextFragmentDecodeTime; public long nextFragmentDecodeTime;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment