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);