pad-monitor: also track flush events on probes

This commit is contained in:
Thiago Santos 2013-08-27 16:16:08 -03:00
parent 41e0bf1e91
commit 49d39be022

View file

@ -1658,7 +1658,8 @@ gst_validate_pad_monitor_do_setup (GstValidateMonitor * monitor)
/* add buffer/event probes */
pad_monitor->pad_probe_id =
gst_pad_add_probe (pad,
GST_PAD_PROBE_TYPE_BUFFER | GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM,
GST_PAD_PROBE_TYPE_BUFFER | GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM |
GST_PAD_PROBE_TYPE_EVENT_FLUSH,
(GstPadProbeCallback) gst_validate_pad_monitor_pad_probe, pad_monitor,
NULL);
}