From b89fa4786b3df6cb79f662c037dee74b3f7428d6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 17 Feb 2016 16:57:27 +0200 Subject: [PATCH] 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 --- gst/gstpad.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/gstpad.c b/gst/gstpad.c index f9822ea..ba96ff2 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -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 */ -- 2.7.4