shaka-packager/packager/media/formats
KongQun Yang 9a55d4033f Adjust timestamps in mp4 if there is an initial composition offset
In some ISO-BMFF files, there is an initial non-zero composition offset,
but there is no EditList present.

This is against ISO-BMFF spec recommentation [1] and we believe in most
cases it is just missing the EditList.

[1] 14496-12:2015 8.6.6.1
It is recommended that such an edit be used to establish a presentation
time of 0 for the first presented sample, when composition offsets are
used.

Issue: #112.
Fixes: b/110782437.

Change-Id: I23d33810ce536b09a1e22a2644828d824c1314f5
2018-07-26 23:20:21 +00:00
..
mp2t Fix TS mimetype in DASH 2018-05-21 20:31:40 +00:00
mp4 Adjust timestamps in mp4 if there is an initial composition offset 2018-07-26 23:20:21 +00:00
packed_audio Implemented PackedAudioWriter 2018-05-16 21:52:18 +00:00
webm Fix potential partial DASH segments during live packaging 2018-05-03 09:26:23 -07:00
webvtt [WebVTT] support cues without payload 2018-07-17 17:07:53 +00:00
wvm Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00