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
This commit is contained in:
Edward Hervey 2024-04-11 16:37:36 +02:00
parent c286240c7e
commit 2d6d7d4c47

View file

@ -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);
}