From d8c5e316576a00c2ed7b37689c87b838c16c7305 Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Wed, 22 May 2013 21:01:48 -0400 Subject: [PATCH] videomixer: Don't hold stream-lock while pushing non-serialized events https://bugzilla.gnome.org/show_bug.cgi?id=700868 --- gst/videomixer/videomixer2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/videomixer/videomixer2.c b/gst/videomixer/videomixer2.c index 505b584d9d..3be8984e8b 100644 --- a/gst/videomixer/videomixer2.c +++ b/gst/videomixer/videomixer2.c @@ -1719,9 +1719,9 @@ gst_videomixer2_sink_event (GstCollectPads * pads, GstCollectData * cdata, case GST_EVENT_FLUSH_START: GST_COLLECT_PADS_STREAM_LOCK (mix->collect); mix->flush_stop_pending = TRUE; + GST_COLLECT_PADS_STREAM_UNLOCK (mix->collect); ret = gst_collect_pads_event_default (pads, cdata, event, discard); event = NULL; - GST_COLLECT_PADS_STREAM_UNLOCK (mix->collect); break; case GST_EVENT_FLUSH_STOP: GST_COLLECT_PADS_STREAM_LOCK (mix->collect);