mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-11 19:06:33 +00:00
adaptivedemux: fix a missing lock in write to stream->last_ret
https://bugzilla.gnome.org/show_bug.cgi?id=757359
This commit is contained in:
parent
ef466b46d3
commit
7d909966e5
1 changed files with 1 additions and 1 deletions
|
@ -1854,8 +1854,8 @@ _src_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer)
|
||||||
if (G_UNLIKELY (stream->cancelled)) {
|
if (G_UNLIKELY (stream->cancelled)) {
|
||||||
g_mutex_unlock (&stream->fragment_download_lock);
|
g_mutex_unlock (&stream->fragment_download_lock);
|
||||||
gst_buffer_unref (buffer);
|
gst_buffer_unref (buffer);
|
||||||
GST_MANIFEST_UNLOCK (demux);
|
|
||||||
ret = stream->last_ret = GST_FLOW_FLUSHING;
|
ret = stream->last_ret = GST_FLOW_FLUSHING;
|
||||||
|
GST_MANIFEST_UNLOCK (demux);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
g_mutex_unlock (&stream->fragment_download_lock);
|
g_mutex_unlock (&stream->fragment_download_lock);
|
||||||
|
|
Loading…
Reference in a new issue