mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
mssdemux: stop tasks faster
Issue a cancel to the downloaders so they stop earlier
This commit is contained in:
parent
aa1713068a
commit
23ad760e3a
1 changed files with 1 additions and 0 deletions
|
@ -194,6 +194,7 @@ gst_mss_demux_stream_free (GstMssDemuxStream * stream)
|
|||
GST_DEBUG_OBJECT (stream->parent, "Leaving streaming task %s:%s",
|
||||
GST_DEBUG_PAD_NAME (stream->pad));
|
||||
gst_task_stop (stream->download_task);
|
||||
gst_uri_downloader_cancel (stream->downloader);
|
||||
g_static_rec_mutex_lock (&stream->download_lock);
|
||||
g_static_rec_mutex_unlock (&stream->download_lock);
|
||||
GST_LOG_OBJECT (stream->parent, "Waiting for task to finish");
|
||||
|
|
Loading…
Reference in a new issue