gstreamer/subprojects/gst-plugins-good/ext/adaptivedemux2/hls
Jan Schmidt 9848c1a1a1 m3u8demux2: Fix off-by-one and leak.
Fix an off-by-one in gst_hls_media_playlist_sync_to_playlist() that would ignore
the first fragment in the reference playlist.  The error was harmless, since we
expect the reference playlist to be older than the playlist we're
synchronising (so the first/oldest segment in the reference playlist will likely
not exist in the new playlist), so this is just for correctness.

Also fix a segment leak in gst_hls_media_playlist_advance_fragment() when
ignoring the partial_only segment.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3883>
2023-02-03 16:52:21 +00:00
..
gsthlsdemux-util.c hlsdemux2: Add and use gst_hls_media_playlist_find_position() 2023-02-03 16:52:21 +00:00
gsthlsdemux.c hlsdemux2: Fix segment advance on partial segments. 2023-02-03 16:52:21 +00:00
gsthlsdemux.h hlsdemux2: Continue implementing LL-HLS support 2023-02-03 16:52:21 +00:00
gsthlselement.c adaptivedemux2: Prevent duplicate symbols on static builds 2022-06-15 01:13:16 +00:00
gsthlselements.h adaptivedemux2: Prevent duplicate symbols on static builds 2022-06-15 01:13:16 +00:00
m3u8.c m3u8demux2: Fix off-by-one and leak. 2023-02-03 16:52:21 +00:00
m3u8.h hlsdemux2: Add and use gst_hls_media_playlist_find_position() 2023-02-03 16:52:21 +00:00
meson.build New HLS, DASH and MSS adaptive demuxer elements 2022-04-18 14:11:23 +00:00