mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-08 13:18:52 +00:00
videomixer: Don't hold stream-lock while pushing non-serialized events
https://bugzilla.gnome.org/show_bug.cgi?id=700868
This commit is contained in:
parent
a7e0f251ca
commit
d8c5e31657
1 changed files with 1 additions and 1 deletions
|
@ -1719,9 +1719,9 @@ gst_videomixer2_sink_event (GstCollectPads * pads, GstCollectData * cdata,
|
||||||
case GST_EVENT_FLUSH_START:
|
case GST_EVENT_FLUSH_START:
|
||||||
GST_COLLECT_PADS_STREAM_LOCK (mix->collect);
|
GST_COLLECT_PADS_STREAM_LOCK (mix->collect);
|
||||||
mix->flush_stop_pending = TRUE;
|
mix->flush_stop_pending = TRUE;
|
||||||
|
GST_COLLECT_PADS_STREAM_UNLOCK (mix->collect);
|
||||||
ret = gst_collect_pads_event_default (pads, cdata, event, discard);
|
ret = gst_collect_pads_event_default (pads, cdata, event, discard);
|
||||||
event = NULL;
|
event = NULL;
|
||||||
GST_COLLECT_PADS_STREAM_UNLOCK (mix->collect);
|
|
||||||
break;
|
break;
|
||||||
case GST_EVENT_FLUSH_STOP:
|
case GST_EVENT_FLUSH_STOP:
|
||||||
GST_COLLECT_PADS_STREAM_LOCK (mix->collect);
|
GST_COLLECT_PADS_STREAM_LOCK (mix->collect);
|
||||||
|
|
Loading…
Reference in a new issue