[Bug 766002] New: Doc: GST_PAD_PROBE_TYPE_IDLE doc is misleading
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed May 4 18:41:16 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=766002
Bug ID: 766002
Summary: Doc: GST_PAD_PROBE_TYPE_IDLE doc is misleading
Classification: Platform
Product: GStreamer
Version: unspecified
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: documentation
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: xclaesse at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
The doc says: "probe idle pads and block"
But if I return GST_PAD_PROBE_OK from that probe, it won't block the stream
anymore, unlike a GST_PAD_PROBE_TYPE_BLOCK_DOWNSTREAM probe.
So if I want a probe that fire on idle AND block (as doc suggests) I must pass:
GST_PAD_PROBE_TYPE_IDLE | GST_PAD_PROBE_TYPE_BLOCK |
GST_PAD_PROBE_TYPE_DATA_DOWNSTREAM
part-probes.txt is not clearer, it even more suggest that returning OK from an
IDLE probe should keep it blocked.
Or maybe it is the implementation that's wrong?
--
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