mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-15 13:53:19 +00:00
pad: Unblock blocking pad probes when receiving FLUSH_START in send_event() too
Without this, flushing might not unblock the streaming thread and cause deadlocks. https://bugzilla.gnome.org/show_bug.cgi?id=757257
This commit is contained in:
parent
5a7fc340b5
commit
4e46d3c489
1 changed files with 2 additions and 0 deletions
|
@ -5364,6 +5364,8 @@ gst_pad_send_event_unchecked (GstPad * pad, GstEvent * event,
|
|||
|
||||
GST_PAD_SET_FLUSHING (pad);
|
||||
GST_CAT_DEBUG_OBJECT (GST_CAT_EVENT, pad, "set flush flag");
|
||||
GST_PAD_BLOCK_BROADCAST (pad);
|
||||
type |= GST_PAD_PROBE_TYPE_EVENT_FLUSH;
|
||||
break;
|
||||
case GST_EVENT_FLUSH_STOP:
|
||||
/* we can't accept flush-stop on inactive pads else the flushing flag
|
||||
|
|
Loading…
Reference in a new issue