dashdemux2: Set timestamp relative to period start
authorJunsoo Park <junsoo81.park@lge.com>
Tue, 23 Aug 2022 14:12:44 +0000 (23:12 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 27 Sep 2022 00:00:49 +0000 (00:00 +0000)
commit699f2ebb458cd57005c1cebf5b02ef89275d5f8a
tree79ba66e9646b419b5ad2bac82bd8b8670db2ff48
parent498ad133bada157055b281fed99b3f622fdfc8fa
dashdemux2: Set timestamp relative to period start

These values will be referred to as timestamp relative to period start
so need to subtract period start time from the values.

Fixes a problem with determining the start position when playing Live content
with SegmentTimeline, presentationTimeOffset and a non-0 period start time.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3025>
subprojects/gst-plugins-good/ext/adaptivedemux2/dash/gstmpdclient.c