Revert "pad: PULL probes are called without a buffer so don't require any of the...
authorSebastian Dröge <sebastian@centricular.com>
Thu, 18 Feb 2016 09:43:22 +0000 (11:43 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 18 Feb 2016 09:43:22 +0000 (11:43 +0200)
This reverts commit b89fa4786b3df6cb79f662c037dee74b3f7428d6.

The changes break various tests.

gst/gstpad.c

index ba96ff2..f9822ea 100644 (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 */