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:
b416f4f
)
multiqueue: Fix hanging if shut down while handling a serialized query
author
YanpingZhang
<zhangyanping210@163.com>
Fri, 3 Jan 2014 03:47:23 +0000
(11:47 +0800)
committer
Sebastian Dröge
<sebastian@centricular.com>
Mon, 6 Jan 2014 10:01:12 +0000
(11:01 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=721253
plugins/elements/gstmultiqueue.c
patch
|
blob
|
history
diff --git
a/plugins/elements/gstmultiqueue.c
b/plugins/elements/gstmultiqueue.c
index 266fead88522baffa1aadf3fffc8db525d06c885..16886ae85aebdf5881e2e50973120dcc86d054aa 100644
(file)
--- a/
plugins/elements/gstmultiqueue.c
+++ b/
plugins/elements/gstmultiqueue.c
@@
-740,6
+740,9
@@
gst_multi_queue_change_state (GstElement * element, GstStateChange transition)
sq = (GstSingleQueue *) tmp->data;
sq->flushing = TRUE;
g_cond_signal (&sq->turn);
+
+ sq->last_query = FALSE;
+ g_cond_signal (&sq->query_handled);
}
GST_MULTI_QUEUE_MUTEX_UNLOCK (mqueue);
break;