mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
hlsdemux: Wait for the update task to finish when shutting down
This commit is contained in:
parent
4dcacc1773
commit
281f2f3590
1 changed files with 1 additions and 0 deletions
|
@ -325,6 +325,7 @@ gst_hls_demux_change_state (GstElement * element, GstStateChange transition)
|
|||
demux->cancelled = TRUE;
|
||||
gst_hls_demux_stop (demux);
|
||||
gst_task_join (demux->stream_task);
|
||||
gst_task_join (demux->updates_task);
|
||||
gst_hls_demux_reset (demux, FALSE);
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue