queue: Do not forget to release the QUEUE_LOCK in the out_flow_error path

Avoiding deadlocks!
This commit is contained in:
Thibault Saunier 2014-09-23 14:31:29 +02:00
parent b189949427
commit 8c7cb27c8d

View file

@ -824,6 +824,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;
}