hlsdemux2: Download new header when it changes
authorJan Schmidt <jan@centricular.com>
Mon, 31 Oct 2022 15:17:46 +0000 (02:17 +1100)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 1 Nov 2022 11:53:26 +0000 (11:53 +0000)
commit6af37695111196e81d3ee136e062b8d90828953d
treeb3d997385f7e4e66c4ef9a41a28db985a9f5ebee
parent9b8c71d1487c94a1b5dd784db9c1995786eae780
hlsdemux2: Download new header when it changes

Check whether the init file / MAP data for a segment
is different to the current data and trigger an
update if so. Previously, the header would only
be checked in HLS after switching bitrate or
after a seek / first download.

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