mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Fix TrackSampleTable.durationUs to be 0 for sideloaded tracks
PiperOrigin-RevId: 320006659
This commit is contained in:
parent
75eab31d79
commit
9b652ac14b
1 changed files with 1 additions and 1 deletions
|
|
@ -288,7 +288,7 @@ public class FragmentedMp4Extractor implements Extractor {
|
||||||
/* maximumSize= */ 0,
|
/* maximumSize= */ 0,
|
||||||
/* timestampsUs= */ new long[0],
|
/* timestampsUs= */ new long[0],
|
||||||
/* flags= */ new int[0],
|
/* flags= */ new int[0],
|
||||||
/* durationUs= */ C.TIME_UNSET),
|
/* durationUs= */ 0),
|
||||||
new DefaultSampleValues(
|
new DefaultSampleValues(
|
||||||
/* sampleDescriptionIndex= */ 0, /* duration= */ 0, /* size= */ 0, /* flags= */ 0));
|
/* sampleDescriptionIndex= */ 0, /* duration= */ 0, /* size= */ 0, /* flags= */ 0));
|
||||||
trackBundles.put(0, bundle);
|
trackBundles.put(0, bundle);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue