[Bug 761211] gstpad: blocking pull probe during pull_range doesn't work
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Jan 28 03:00:01 PST 2016
https://bugzilla.gnome.org/show_bug.cgi?id=761211
--- Comment #2 from Matej Knopp <matej.knopp at gmail.com> ---
No, GST_PAD_PROBE_TYPE_PULL | GST_PAD_PROBE_TYPE_BLOCK doesn't work. The probe
callback is never invoked, because this check in probe_hook_marshal fails
/* one of the data types for non-idle probes */
if ((type & GST_PAD_PROBE_TYPE_IDLE) == 0
&& (flags & GST_PAD_PROBE_TYPE_ALL_BOTH & type) == 0)
goto no_match;
The second check (flags & GST_PAD_PROBE_TYPE_ALL_BOTH & type) == 0) means, that
both type (argument to PROBE_PULL) and flags (probe flags) must have at least
one bit from GST_PAD_PROBE_TYPE_ALL_BOTH set. Otherwise you get always
no_match.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list