Fix TrackSampleTable.durationUs to be 0 for sideloaded tracks

PiperOrigin-RevId: 320006659
This commit is contained in:
olly 2020-07-07 18:08:21 +01:00 committed by kim-vde
parent 75eab31d79
commit 9b652ac14b

View file

@ -288,7 +288,7 @@ public class FragmentedMp4Extractor implements Extractor {
/* maximumSize= */ 0,
/* timestampsUs= */ new long[0],
/* flags= */ new int[0],
/* durationUs= */ C.TIME_UNSET),
/* durationUs= */ 0),
new DefaultSampleValues(
/* sampleDescriptionIndex= */ 0, /* duration= */ 0, /* size= */ 0, /* flags= */ 0));
trackBundles.put(0, bundle);