mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
queue: Do not forget to release the QUEUE_LOCK in the out_flow_error path
Avoiding deadlocks!
This commit is contained in:
parent
feeb2902da
commit
97a6bb377b
1 changed files with 2 additions and 0 deletions
|
@ -837,6 +837,8 @@ gst_queue_handle_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
|
|||
(_("Internal data flow error.")),
|
||||
("streaming task paused, reason %s (%d)",
|
||||
gst_flow_get_name (queue->srcresult), queue->srcresult));
|
||||
} else {
|
||||
GST_QUEUE_MUTEX_UNLOCK (queue);
|
||||
}
|
||||
goto out_flow_error;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue