GstEvent
Event definitions.
The event classes are used to construct and query events.
Events are usually created with gst_event_new() which takes the event type as an argument.
properties specific to the event can be set afterwards with the provided macros.
The event is freed with gst_event_free().
gst_event_new_seek() is a usually used to create a seek event and it takes the
needed parameters for a seek event.
gst_event_new_flush() creates a new flush event.
#GstPad
The different major types of events.
@GST_EVENT_UNKNOWN: unknown event.
@GST_EVENT_EOS: an end-of-stream event.
@GST_EVENT_FLUSH: a flush event.
@GST_EVENT_EMPTY: an empty event.
@GST_EVENT_SEEK: a seek event.
@GST_EVENT_DISCONTINUOUS: a discontinuous event to indicate the stream has a discontinuity.
@GST_EVENT_INFO: an informational event
@GST_EVENT_ERROR: an error event
Get the event type.
@event: The event to query.
The source object that generated this event
@event: The event to query
Get the timestamp of the event.
@event: The event to query.
The different types of seek events.
@GST_SEEK_ANY: the seek is performed anyway.
@GST_SEEK_TIMEOFFSET: this is a seek to specific timeoffset
@GST_SEEK_BYTEOFFSET: this is a seek to specific byteoffset
Get the seektype of the GST_EVENT_SEEK.
@event: The event to query.
Get the offset of the seek event.
@event: The event to query.
Qeury wether the seek event also needs a flush.
@event: The event to query.
The properties of the info event
@event: The event to query
The event data structure.
@data: The parent data type.
@type: The event type.
@timestamp: The event timestamp.
@src:
@type:
@Returns:
@event:
@type:
@offset:
@flush:
@Returns:
Create a new flush event.
@firstname:
@Varargs:
@Returns: