mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 05:01:23 +00:00
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:
parent
dadf2ec56c
commit
5ec5323c1f
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue