hlsdemux2: No longer re-add segments from before the playlist
authorEdward Hervey <edward@centricular.com>
Thu, 2 Jun 2022 07:46:22 +0000 (09:46 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 28 Jun 2022 17:59:23 +0000 (17:59 +0000)
commit82bd65e711985181e02ff4eed9c27ce96c396b4b
tree69401b54211c639e2c1d32282ff8afafb76716ac
parentb9effe04e3cb6a3de9751573fb546ff348b72cb2
hlsdemux2: No longer re-add segments from before the playlist

When updating playlists, there is a possibility that the playlists don't
perfectly align, but the last entry of the previous playlist is *just* before
the first entry of the new playlist.

In those cases, we still can transfer the timing information from one playlist
to another, but we do not want to return that segment as being the matching one.

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