projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
feeb290
)
queue: Do not forget to release the QUEUE_LOCK in the out_flow_error path
author
Thibault Saunier
<tsaunier@gnome.org>
Tue, 23 Sep 2014 12:31:29 +0000
(14:31 +0200)
committer
Thibault Saunier
<tsaunier@gnome.org>
Tue, 23 Sep 2014 12:45:43 +0000
(14:45 +0200)
Avoiding deadlocks!
plugins/elements/gstqueue.c
patch
|
blob
|
history
diff --git
a/plugins/elements/gstqueue.c
b/plugins/elements/gstqueue.c
index
d7d9685
..
b2151be
100644
(file)
--- a/
plugins/elements/gstqueue.c
+++ b/
plugins/elements/gstqueue.c
@@
-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;
}