[Bug 748643] gstpad: Add a new GST_PROBE_HANDLED return value for probes

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue May 5 12:34:58 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=748643

--- Comment #8 from Olivier CrĂȘte <olivier.crete at ocrete.ca> ---
I mean if you return PROBE_REMOVE, but set the event/buffer to NULL (allowed by
Tim's recent patch), then you can remove the probe and drop the buffer at the
same time.

I suggest just adding a gint to the struct, the access it with appropriate
macros to typecast to GstFlowReturn or gboolean (just like we put
event/buffer/bufferlist/queries in the same gpointer). It shouldn't be much
more complex than the current code, you can pre-fill to GST_FLOW_OK, TRUE or
FALSE depending on the type.

-- 
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