diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2016-02-17 16:57:27 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-02-18 09:44:00 +0200 |
commit | b89fa4786b3df6cb79f662c037dee74b3f7428d6 (patch) | |
tree | 4301972945d9cd25d0db56ff3730e512ea557501 /gst | |
parent | a0b3a7f65878a844b1f983441749afdd3512ee54 (diff) |
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
Diffstat (limited to 'gst')
-rw-r--r-- | gst/gstpad.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/gstpad.c b/gst/gstpad.c index f9822ea559..ba96ff2677 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 */ |