mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
gstpad: run probes for FLUSH events sent with gst_pad_send_event
Move probe handling in gst_pad_send_event_unchecked so that probes are run for FLUSH events too.
This commit is contained in:
parent
d420686764
commit
543b92a856
1 changed files with 7 additions and 7 deletions
14
gst/gstpad.c
14
gst/gstpad.c
|
@ -4860,16 +4860,16 @@ gst_pad_send_event_unchecked (GstPad * pad, GstEvent * event,
|
|||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
/* now do the probe */
|
||||
PROBE_PUSH (pad,
|
||||
type | GST_PAD_PROBE_TYPE_PUSH |
|
||||
GST_PAD_PROBE_TYPE_BLOCK, event, probe_stopped);
|
||||
|
||||
PROBE_PUSH (pad, type | GST_PAD_PROBE_TYPE_PUSH, event, probe_stopped);
|
||||
break;
|
||||
}
|
||||
|
||||
/* now do the probe */
|
||||
PROBE_PUSH (pad,
|
||||
type | GST_PAD_PROBE_TYPE_PUSH |
|
||||
GST_PAD_PROBE_TYPE_BLOCK, event, probe_stopped);
|
||||
|
||||
PROBE_PUSH (pad, type | GST_PAD_PROBE_TYPE_PUSH, event, probe_stopped);
|
||||
|
||||
if (G_UNLIKELY ((eventfunc = GST_PAD_EVENTFUNC (pad)) == NULL))
|
||||
goto no_function;
|
||||
|
||||
|
|
Loading…
Reference in a new issue