shaka-packager/packager/media/formats
KongQun Yang 1223694249 Do not force earliest_presentation_time to 0 for VOD
Instead, the actual earliest presentation time is used except for
the first segment if there is an offset between presentation time
(pts) and decoding time (dts).

Chrome (as of v66) reports dts instead of pts in buffered ranges in
MSE API. To avoid breaking Chrome, the earliest_presentation_time
of the first segment is set to its dts as Chrome does not like negative
values for
  adjusted dts = dts + Period@start (0 for the first period)
                 - presentationTimeOffset (earliest_presentation_time).

Fixes #303.

Change-Id: I5ca80e05d5570961400499436f2bcc01f06e69e0
2018-04-20 13:58:01 -07:00
..
mp2t Support KeyFrame events in TS and MP4 2018-02-02 14:05:50 -08:00
mp4 Do not force earliest_presentation_time to 0 for VOD 2018-04-20 13:58:01 -07:00
webm [DASH][WebM] Fix subsegmentAlignment not set problem 2018-01-31 19:58:15 +00:00
webvtt WebVtt Ignore Zero Duration Cues 2018-03-01 22:26:34 -08:00
wvm Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00