gstreamer/subprojects/gst-plugins-good/ext/adaptivedemux2/hls
Edward Hervey 5bc9883d68 hlsdemux2: Be more tolerant when matching segments with PDT
Some servers might not provide 100% matching PDT when doing updates, or accross
variants. This would cause the code matching segments using PDT to fail if the
segment PDT was 1 microsecond (or whatever small value) before the candidate
segment. And would pick the (wrong) following segment as the matching one.

In order to be more tolerant when matching, we instead check whether the
candidate segment is within the first segment of the segment we are trying to
match.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6610>
2024-05-28 14:00:57 +00:00
..
gsthlsdemux-playlist-loader.c adaptivedemux2: Don't use g_str_equal on potentially NULL strings 2024-03-19 13:25:41 +00:00
gsthlsdemux-playlist-loader.h hlsdemux2: Remove enable-llhls property 2023-02-03 16:52:24 +00:00
gsthlsdemux-preloader.c adaptivedemux2: Don't use g_str_equal on potentially NULL strings 2024-03-19 13:25:41 +00:00
gsthlsdemux-preloader.h hlsdemux2/preloader: Implement basic request handling 2023-02-03 16:52:22 +00:00
gsthlsdemux-stream.c hlsdemux2: Fix failure to find a replacement segment on resync 2024-05-28 14:00:57 +00:00
gsthlsdemux-stream.h hlsdemux2: Fix handling of variant switching and playlist updates 2024-05-28 14:00:57 +00:00
gsthlsdemux-util.c adaptivedemux2: Don't use g_str_equal on potentially NULL strings 2024-03-19 13:25:41 +00:00
gsthlsdemux.c hlsdemux2: Refactor update of GstHLSTimeMap values 2024-05-28 14:00:57 +00:00
gsthlsdemux.h hlsdemux2: Refactor update of GstHLSTimeMap values 2024-05-28 14:00:57 +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 hlsdemux2: Be more tolerant when matching segments with PDT 2024-05-28 14:00:57 +00:00
m3u8.h hlsdemux2: Fix handling of variant switching and playlist updates 2024-05-28 14:00:57 +00:00
meson.build hlsdemux2: Add HLS playlist loader 2023-02-03 16:52:23 +00:00