[Bug 757821] New GstPadEventFunction which returns a GstFlowReturn

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Nov 9 23:32:26 PST 2015


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

--- Comment #3 from Edward Hervey <bilboed at bilboed.com> ---
Sebastian, those concerns are still present. Which is why I am *not* proposing
to make a gst_pad_{send|push}_event_full() public function. This would require
a lot more thinking regarding how elements should handle that (i.e. potentially
wait for 2.x to tackle that).

I am just proposing to:
* allow some elements to implement an event function that returns a
GstFlowReturn
* have core use it in gst_pad_send_event_unchecked() if present

That will not modify the current behaviour.

Nicolas, Yes, this is exactly what I'm proposing to solve ... but in core. All
the examples you have mentioned are how we adapt the flow return (in the buffer
push system) based on an event push and surrounding information (flushing
state, etc..).

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