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

This reverts commit b89fa4786b.

The changes break various tests.
This commit is contained in:
Sebastian Dröge 2016-02-18 11:43:22 +02:00
parent 0ba615848a
commit 42968bc949

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, non-pull probes */
if ((type & (GST_PAD_PROBE_TYPE_IDLE | GST_PAD_PROBE_TYPE_PULL)) == 0
/* one of the data types for non-idle probes */
if ((type & GST_PAD_PROBE_TYPE_IDLE) == 0
&& (flags & GST_PAD_PROBE_TYPE_ALL_BOTH & type) == 0)
goto no_match;
/* one of the scheduling types */