mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +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:
|
||||
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);
|
||||
|
|
Loading…
Reference in a new issue