shaka-packager/packager/media/formats
KongQun Yang 772aa7c93f 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-09 18:39:15 +00: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-09 18:39:15 +00:00
webm [DASH][WebM] Fix subsegmentAlignment not set problem 2018-01-31 19:58:15 +00:00
webvtt Add CueEvent Support To WebVtt Output 2018-04-07 02:45:52 +00:00
wvm Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00