dashdemux: Subtract the period start time from the presentation offset
authorSebastian Dröge <sebastian@centricular.com>
Thu, 25 Jun 2015 21:24:50 +0000 (23:24 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 25 Jun 2015 21:36:10 +0000 (23:36 +0200)
commit626a8f0a74f8ea748b811b74ba9e7ae2baea2cca
tree9c9d4137231234e68a55534f3be630d3256d79ff
parent95eb1aa49c130bb2f58ec6712bd8cb8b61326b99
dashdemux: Subtract the period start time from the presentation offset

We're interested in the offset between the period start timestamp and the
actual media timestamp so that we can properly correct for it. The absolute
presentation offset to timestamp 0 is useless as the only thing we really
care about is the offset between the current fragment timestamp and the
media timestamp.
ext/dash/gstmpdparser.c