gstreamer/subprojects/gst-plugins-good/ext/adaptivedemux2/hls
Edward Hervey 836bca461a hlsdemux2: Fix handling of variant switching and playlist updates
When updating playlists, we want to know whether the updated playlist is
continuous with the previous one. That is : if we advance, will the next
fragment need to have the DISCONT buffer set on it or not.

If that happens (because we switched variants, or the playlist all of a sudden
changed) we remember that there is a pending discont for the next fragment. That
will be used and resetted the next time we get the fragment information.

Previously this was only partially done. And it was racy because it was set
directly on `GstAdaptiveDemux2Stream->discont` when a playlist was updated,
instead of when the next fragment was prepared.

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 handling of variant switching and playlist updates 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: Fix handling of variant switching and playlist updates 2024-05-28 14:00:57 +00:00
gsthlsdemux.h hlsdemux2: Remove enable-llhls property 2023-02-03 16:52:24 +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 handling of variant switching and playlist updates 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