mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 13:25:56 +00:00
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
This commit is contained in:
parent
a0b3a7f658
commit
b89fa4786b
1 changed files with 2 additions and 2 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue