GNOME Bugzilla – Bug 687975
Add API to require some events before streaming
Last modified: 2013-07-12 18:30:38 UTC
This is an experiment to allow elements to declare that they require some sticky events before accepting buffers. The idea is to have the core (well GstPad) just reject the buffers if the events haven't been received. This makes writing elements easier as one can then assume that the CAPS or SEGMENT event has been received before a buffer. Also, we should enforce event ordering in the pads so that the caps/segment order is guaranteed to always be the same, etc.
Created attachment 228543 [details] [review] pad: Add required events so that the pad will reject buffers if these are missing Sink pads will return not-negotiated if it receives buffers without having the required sticky events.
Created attachment 228545 [details] [review] Example usage for gst-plugins-base: Add some required events
this is more or less done in a different way with the recent event ordering patches.