shaka-packager/packager/mpd/test/data
KongQun Yang ee9b7f6392 Calculate presentationTimeOffset and Period@duration from segments
Prefer timestamps from Video AdaptationSets if available - this avoids
possible video playback jitters due to gaps.

presentationTimeOffset is not applied to the first period as it may in
negative dts which Chrome does not like: https://crbug.com/398141.

It is safe to apply to subsequent periods as the actual offset applied
takes Period@start into consideration:

    offset = Period@start - presentationTimeOffset

The result timestamp with offset applied is close to Period@start, so
it is unlikely to result in a negative dts value.

Closes b/73899306.

Change-Id: If8361f5469610093b3aac6675754536ad7e83c4c
2018-03-01 08:55:10 -08:00
..
audio_media_info1.txt Move source code into packager directory 2014-10-02 12:32:14 -07:00
audio_media_info1_expected_mpd_output.txt Calculate presentationTimeOffset and Period@duration from segments 2018-03-01 08:55:10 -08:00
audio_media_info1_video_media_info1_expected_mpd_output.txt Calculate presentationTimeOffset and Period@duration from segments 2018-03-01 08:55:10 -08:00
video_media_info1.txt Check for sample aspect ratio, frame duration, and time scale 2015-06-19 13:16:07 -07:00
video_media_info1_expected_mpd_output.txt Calculate presentationTimeOffset and Period@duration from segments 2018-03-01 08:55:10 -08:00
video_media_info1and2_expected_mpd_output.txt Calculate presentationTimeOffset and Period@duration from segments 2018-03-01 08:55:10 -08:00
video_media_info2.txt Check for sample aspect ratio, frame duration, and time scale 2015-06-19 13:16:07 -07:00