shaka-packager/packager/app/test
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
..
testdata Calculate presentationTimeOffset and Period@duration from segments 2018-03-01 08:55:10 -08:00
packager_app.py Include shared_library and mpd_generator in ci and releases 2017-12-12 23:11:01 +00:00
packager_test.py Remove "with" from test names 2018-02-27 17:43:16 -08:00
test_env.py Include shared_library and mpd_generator in ci and releases 2017-12-12 23:11:01 +00:00