gstreamer/subprojects/gst-plugins-good/ext/adaptivedemux2/hls
Edward Hervey 81fd460c90 hlsdemux2: Fix failure to find a replacement segment on resync
If we end up with a segment with an internal time that varies from the supposed
one, this could be for two reasons:
* We guess-timated the wrong segment to go to when advancing or switching
  variants. In that case we try to find the actual segment to go to (just before
  this change).
* There was a complete playlist change (for whatever reason) and we can't find a
  replacement. In that case we want to carry on playback from this position but
  need to remember that we moved (by setting the stream to DISCONT, and
  resetting the new mapping).

Fixes playback on several broken stream

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: Fix parsing of EXT-X-DISCONTINUITY-SEQUENCE:0 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