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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6961>
This commit is contained in:
Edward Hervey 2024-04-11 16:37:36 +02:00 committed by GStreamer Marge Bot
parent dadf2ec56c
commit 5ec5323c1f

View file

@ -1448,6 +1448,7 @@ lost_sync:
stream->playlist = new_playlist; stream->playlist = new_playlist;
stream->playlist = gst_hls_media_playlist_ref (new_playlist); stream->playlist = gst_hls_media_playlist_ref (new_playlist);
stream->playlist_fetched = TRUE; stream->playlist_fetched = TRUE;
stream->pending_discont = TRUE;
gst_hls_demux_reset_for_lost_sync (demux); gst_hls_demux_reset_for_lost_sync (demux);
} }