shaka-packager/packager/media
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
..
ad_cue_generator Change Scte35 to use double for time 2018-03-15 18:11:00 -07:00
base Correct some spelling mistakes in media_handler.h 2018-03-29 22:36:36 +00:00
chunking Fix Spelling Mistake in Cue Alignment Handler 2018-04-06 13:16:55 -07:00
codecs LOG an error on unsupported streams 2018-04-06 21:45:45 +00:00
crypto Fix SAMPLE-AES EC3 encryption 2018-01-24 03:02:49 +00:00
demuxer Removed Old WebVtt Code 2018-03-02 20:59:23 +00:00
event Add Text Codec To Codec String 2018-02-28 19:23:36 +00:00
formats Do not force earliest_presentation_time to 0 for VOD 2018-04-09 18:39:15 +00:00
origin Address gcc build failures in some platforms 2017-12-07 11:45:26 -08:00
public Implement multi DRM support. (Part 1) 2018-03-03 01:39:16 +00:00
replicator Address gcc build failures in some platforms 2017-12-07 11:45:26 -08:00
test HLS WebVtt End-to-End Tests 2018-02-23 16:55:50 +00:00
trick_play Address gcc build failures in some platforms 2017-12-07 11:45:26 -08:00