1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
7 <!-- ##### SECTION Long_Description ##### -->
9 The event classes are used to construct and query events.
12 <!-- ##### SECTION See_Also ##### -->
17 <!-- ##### ENUM GstEventType ##### -->
19 The different major types of events.
22 @GST_EVENT_UNKNOWN: unknown event.
23 @GST_EVENT_EOS: an end-of-stream event.
24 @GST_EVENT_FLUSH: a flush event.
25 @GST_EVENT_EMPTY: an empty event.
26 @GST_EVENT_SEEK: a seek event.
27 @GST_EVENT_DISCONTINUOUS: a discontinuous event to indicate the stream has a discontinuity.
29 <!-- ##### MACRO GST_EVENT_TYPE ##### -->
34 @event: The event to query.
37 <!-- ##### MACRO GST_EVENT_TIMESTAMP ##### -->
39 Get the timestamp of the event.
42 @event: The event to query.
45 <!-- ##### ENUM GstSeekType ##### -->
47 The different types of seek events.
50 @GST_SEEK_ANY: the seek is performed anyway.
51 @GST_SEEK_TIMEOFFSET: this is a seek to specific timeoffset
52 @GST_SEEK_BYTEOFFSET: this is a seek to specific byteoffset
54 <!-- ##### MACRO GST_EVENT_SEEK_TYPE ##### -->
56 Get the seektype of the GST_EVENT_SEEK.
59 @event: The event to query.
62 <!-- ##### MACRO GST_EVENT_SEEK_OFFSET ##### -->
64 Get the offset of the seek event.
67 @event: The event to query.
70 <!-- ##### MACRO GST_EVENT_SEEK_FLUSH ##### -->
72 Qeury wether the seek event also needs a flush.
75 @event: The event to query.
78 <!-- ##### STRUCT GstEvent ##### -->
80 The event data structure.
83 @data: The parent data type.
84 @type: The event type.
85 @timestamp: The event timestamp.
87 <!-- ##### FUNCTION gst_event_new ##### -->
96 <!-- ##### FUNCTION gst_event_free ##### -->
104 <!-- ##### FUNCTION gst_event_new_seek ##### -->
115 <!-- ##### MACRO gst_event_new_flush ##### -->