mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-17 22:06:41 +00:00
hlsdemux2: Fix initial playlist setup.
There is now only a single case where we setup the initial playlist to 0, which is for the very first variant stream. Rendition streams will have the initial playlist "synchronized" against the variant stream media playlist. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2839>
This commit is contained in:
parent
9ca1dcd563
commit
6a9bdceb5e
1 changed files with 4 additions and 2 deletions
|
@ -2149,9 +2149,11 @@ gst_hls_demux_stream_update_media_playlist (GstHLSDemux * demux,
|
|||
gst_hls_media_playlist_unref (stream->playlist);
|
||||
stream->playlist = new_playlist;
|
||||
} else {
|
||||
GST_DEBUG_OBJECT (stream, "Setting up initial playlist");
|
||||
if (stream->is_variant) {
|
||||
GST_DEBUG_OBJECT (stream, "Setting up initial playlist");
|
||||
setup_initial_playlist (demux, new_playlist);
|
||||
}
|
||||
stream->playlist = new_playlist;
|
||||
setup_initial_playlist (demux, new_playlist);
|
||||
}
|
||||
|
||||
if (stream->is_variant) {
|
||||
|
|
Loading…
Reference in a new issue