mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
dahsdemux: task is signaled to stop without stop condition being set
The gst_adaptive_demux_stream_free function is trying to stop the stream's download task. For this, it signals the task. But it fails to also set the stream->download_finished = TRUE, so the task will go back to sleep and only exit when the download is finished. https://bugzilla.gnome.org/show_bug.cgi?id=755121
This commit is contained in:
parent
566e84cec1
commit
60f3eb15eb
1 changed files with 1 additions and 0 deletions
|
@ -1101,6 +1101,7 @@ gst_adaptive_demux_stream_free (GstAdaptiveDemuxStream * stream)
|
|||
|
||||
g_mutex_lock (&stream->fragment_download_lock);
|
||||
stream->cancelled = TRUE;
|
||||
stream->download_finished = FALSE;
|
||||
g_cond_signal (&stream->fragment_download_cond);
|
||||
g_mutex_unlock (&stream->fragment_download_lock);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue