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:
Alessandro Decina 2013-04-24 08:40:32 +02:00
parent d420686764
commit 543b92a856

View file

@ -4860,6 +4860,8 @@ gst_pad_send_event_unchecked (GstPad * pad, GstEvent * event,
default:
break;
}
break;
}
/* now do the probe */
PROBE_PUSH (pad,
@ -4867,8 +4869,6 @@ gst_pad_send_event_unchecked (GstPad * pad, GstEvent * event,
GST_PAD_PROBE_TYPE_BLOCK, event, probe_stopped);
PROBE_PUSH (pad, type | GST_PAD_PROBE_TYPE_PUSH, event, probe_stopped);
break;
}
if (G_UNLIKELY ((eventfunc = GST_PAD_EVENTFUNC (pad)) == NULL))
goto no_function;