Events

Sometimes elements in a media processing pipeline need to know that something has happened. An event is a special type of data in GStreamer designed to serve this purpose. Events describe some sort of activity that has happened somewhere in an element's pipeline, for example, the end of the media stream or a clock discontinuity. Just like any other data type, an event comes to an element on a sink pad and is contained in a normal buffer. Unlike normal stream buffers, though, an event buffer contains only an event, not any media stream data.

See the GStreamer Library Reference for the current implementation details of a GstEvent.