From: Sebastian Dröge Date: Wed, 17 Feb 2016 14:57:27 +0000 (+0200) Subject: pad: PULL probes are called without a buffer so don't require any of the data flags... X-Git-Tag: 1.10.4~410 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b89fa4786b3df6cb79f662c037dee74b3f7428d6;p=platform%2Fupstream%2Fgstreamer.git 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 --- 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 */