From 8b6e7a018c8de1bf2697d96be0a3a4c90112adb2 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Thu, 11 Apr 2024 16:37:36 +0200 Subject: [PATCH] hlsdemux2: Ensure a discont will be set when resetting for lost sync This is to ensures we inform the demuxer/parsers that what follows is not contiguous Part-of: --- .../gst-plugins-good/ext/adaptivedemux2/hls/gsthlsdemux-stream.c | 1 + 1 file changed, 1 insertion(+) diff --git a/subprojects/gst-plugins-good/ext/adaptivedemux2/hls/gsthlsdemux-stream.c b/subprojects/gst-plugins-good/ext/adaptivedemux2/hls/gsthlsdemux-stream.c index 1372d1c097..b6ff28d67e 100644 --- a/subprojects/gst-plugins-good/ext/adaptivedemux2/hls/gsthlsdemux-stream.c +++ b/subprojects/gst-plugins-good/ext/adaptivedemux2/hls/gsthlsdemux-stream.c @@ -1448,6 +1448,7 @@ lost_sync: stream->playlist = new_playlist; stream->playlist = gst_hls_media_playlist_ref (new_playlist); stream->playlist_fetched = TRUE; + stream->pending_discont = TRUE; gst_hls_demux_reset_for_lost_sync (demux); }