mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Miscellaneous fixes to FragmentedMp4Extractor
ISSUE: #7308 PiperOrigin-RevId: 319747742
This commit is contained in:
parent
64a24e08fe
commit
3612874d19
@ -203,7 +203,8 @@
|
||||
([#6410](https://github.com/google/ExoPlayer/issues/6410)).
|
||||
* Select first extractors based on the filename extension and the response
|
||||
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
|
||||
* Add `TestExoPlayer`, a utility class with APIs to create
|
||||
`SimpleExoPlayer` instances with fake components for testing.
|
||||
|
@ -1565,7 +1565,7 @@ public class FragmentedMp4Extractor implements Extractor {
|
||||
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() {
|
||||
fragment.reset();
|
||||
currentSampleIndex = 0;
|
||||
|
@ -89,8 +89,8 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
|
||||
*/
|
||||
public boolean sampleEncryptionDataNeedsFill;
|
||||
/**
|
||||
* The absolute decode time of the start of the next fragment, excluding the samples outside
|
||||
* fragments.
|
||||
* The duration of all samples defined in fragments up to and including this one. Samples defined
|
||||
* in the moov box are not included.
|
||||
*/
|
||||
public long nextFragmentDecodeTime;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user