mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-18 20:25:25 +00:00
hlsdemux: Just join the task
gst_task_join() will already stop the task, no need to stop it additionally.
This commit is contained in:
parent
119771eaab
commit
cf8f00d57a
1 changed files with 1 additions and 4 deletions
|
@ -156,10 +156,7 @@ gst_hls_demux_dispose (GObject * obj)
|
|||
g_cond_free (demux->thread_cond);
|
||||
g_mutex_free (demux->thread_lock);
|
||||
|
||||
if (GST_TASK_STATE (demux->task) != GST_TASK_STOPPED) {
|
||||
gst_task_stop (demux->task);
|
||||
gst_task_join (demux->task);
|
||||
}
|
||||
gst_task_join (demux->task);
|
||||
gst_object_unref (demux->task);
|
||||
g_static_rec_mutex_free (&demux->task_lock);
|
||||
|
||||
|
|
Loading…
Reference in a new issue