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_DISCONTINUOUS: a discontinuous event to indicate the stream has a discontinuity. @GST_EVENT_NEW_MEDIA: a new media stream is started @GST_EVENT_QOS: a quality of service event @GST_EVENT_SEEK: a seek event. @GST_EVENT_FILLER: a dummy element that should be ignored by plugins 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_METHOD_CUR: Seek to an relative position @GST_SEEK_METHOD_SET: Seek to an absolute position @GST_SEEK_METHOD_END: Seek relative to the end of the stream @GST_SEEK_FLAG_FLUSH: Flush any pending data while seeking @GST_SEEK_FLAG_ACCURATE: Seek as accuratly as possible @GST_SEEK_FLAG_KEY_UNIT: Seek to a nearby key unit The seekaccuracy gives more information of how the seek was performed, if the seek was accurate or fuzzy. @GST_SEEK_CERTAIN: @GST_SEEK_FUZZY: Get the seektype of the GST_EVENT_SEEK. @event: The event to query. The format of the seek value @event: The event operate on The seek method to use as one of #GstSeekType @event: The event operate on The optional seek flags @event: The event operate on Get the offset of the seek event. @event: The event to query. Indicates how accurate the event was performed. @event: The event to query Flag that indicates the discont event was because of a new media type. @event: The event to operate on The offset of the discont event. A discont evetn can hold up to 8 different format/value pairs. @event: The event to query @i: The offset/value pair. Get the number of offset/value pairs this event has. @event: The event to query. The event data structure. @data: The parent data type. @type: The event type. @timestamp: The event timestamp. @src: The object that generated the event @type: @Returns: @event: @Returns: @event: @type: @offset: @Returns: @new_media: @format1: @Varargs: @Returns: @event: @format: @value: @Returns: Create a new dummy event that should be ignored Create a new flush event.