shaka-packager/packager/media
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
..
ad_cue_generator Change Scte35 to use double for time 2018-03-27 16:24:58 -07:00
base Integrate CueAlignmentHandler 2018-03-27 16:48:08 -07:00
chunking Allow SyncPointQueue to be cancelled 2018-03-27 16:55:53 -07:00
codecs Copy over parameter sets in the sample if different to sample entry 2018-02-09 15:43:00 -08:00
crypto Fix SAMPLE-AES EC3 encryption 2018-01-24 03:02:49 +00:00
demuxer Cleans up Status class 2018-01-31 03:32:07 +00:00
event Support KeyFrame events in TS and MP4 2018-02-02 14:05:50 -08:00
formats Do not force earliest_presentation_time to 0 for VOD 2018-04-20 13:58:01 -07:00
origin Address gcc build failures in some platforms 2017-12-07 11:45:26 -08:00
public Address gcc build failures in some platforms 2017-12-07 11:45:26 -08:00
replicator Address gcc build failures in some platforms 2017-12-07 11:45:26 -08:00
test Correct WEBVTT Header In Sample Test Files 2018-02-07 00:07:16 +00:00
trick_play Address gcc build failures in some platforms 2017-12-07 11:45:26 -08:00