adaptivedemux2/hlsdemux2: Handle loss of sync when dowloading.
authorEdward Hervey <edward@centricular.com>
Mon, 11 Jul 2022 08:31:42 +0000 (10:31 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 4 Aug 2022 13:49:27 +0000 (14:49 +0100)
commit5d0b112c0c7975d6dfb907fbef4dc0f5cece97f9
treecb040834c53a9339ba67c1649a18329ed6369b20
parent6a9bdceb5e8fa6da3e017895cd4c46c364f34bab
adaptivedemux2/hlsdemux2: Handle loss of sync when dowloading.

Media playlist updates and fragment downloads happen in an interleaved
fashion. When a media playlist update fails *while* a segment is being
downloaded, this means we lost synchronization.

Properly propagate and handle this

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