pad: PULL probes are called without a buffer so don't require any of the data flags...
authorSebastian Dröge <sebastian@centricular.com>
Wed, 17 Feb 2016 14:57:27 +0000 (16:57 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 18 Feb 2016 07:44:00 +0000 (09:44 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=761211

gst/gstpad.c

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