pad: PULL probes are called without a buffer so don't require any of the data flags to be set

https://bugzilla.gnome.org/show_bug.cgi?id=761211
This commit is contained in:
Sebastian Dröge 2016-02-17 16:57:27 +02:00
parent a0b3a7f658
commit b89fa4786b

View file

@ -3384,8 +3384,8 @@ probe_hook_marshal (GHook * hook, ProbeMarshall * data)
type = info->type;
original_data = info->data;
/* one of the data types for non-idle probes */
if ((type & GST_PAD_PROBE_TYPE_IDLE) == 0
/* one of the data types for non-idle, non-pull probes */
if ((type & (GST_PAD_PROBE_TYPE_IDLE | GST_PAD_PROBE_TYPE_PULL)) == 0
&& (flags & GST_PAD_PROBE_TYPE_ALL_BOTH & type) == 0)
goto no_match;
/* one of the scheduling types */