hlsdemux: Consider starting stream time in presentation offset
authorJan Schmidt <jan@centricular.com>
Sun, 7 Aug 2022 04:23:04 +0000 (14:23 +1000)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 5 Jan 2023 07:08:16 +0000 (07:08 +0000)
commit023c67e166b552b4a13b8d6b226960ca8ee7f198
tree93e0523e7ed2cc66ead7cc84b194e6018e889636
parentb7c0e8bc844c05bee02d85075529411f44f4fec5
hlsdemux: Consider starting stream time in presentation offset

When calculating the presentation offset for CMAF input in live
playback, subtract the stream_time of the fragment from the
calculated presentation offset, so that the first fragment
is played at running time zero.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3680>
subprojects/gst-plugins-good/ext/adaptivedemux2/hls/gsthlsdemux.c