Import line: | Gst = imports.gi.Gst; |
GIR File: | Gst-0.10.gir |
C documentation: | GstEvent |
Struct : | Event |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
mini_object : Gst.MiniObject
|
Gst.Event | |
src : Gst.Object
|
Gst.Event | |
structure : Gst.Structure
|
Gst.Event | |
timestamp : Number
|
Gst.Event | |
type : Gst.EventType
|
Gst.Event |
Method / Constructor | Defined By | |
---|---|---|
new Gst.Event
()
Create a new Gst.Event
Create a new Gst.Event
|
||
new Gst.Event.buffer_size
(Format format, Number minsize, Number maxsize, Boolean async)
:
Gst.Event
Create a new Gst.Event
Create a new Gst.Event
|
||
Create a new Gst.Event
Create a new Gst.Event
|
||
new Gst.Event.eos
()
:
Gst.Event
Create a new Gst.Event
Create a new Gst.Event
|
||
new Gst.Event.flush_start
()
:
Gst.Event
Create a new Gst.Event
Create a new Gst.Event
|
||
new Gst.Event.flush_stop
()
:
Gst.Event
Create a new Gst.Event
Create a new Gst.Event
|
||
Create a new Gst.Event
Create a new Gst.Event
|
||
new Gst.Event.new_segment_full
(Boolean update, Number rate, Number applied_rate, Format format, Number start, Number stop, Number position)
:
Gst.Event
Create a new Gst.Event
|
||
new Gst.Event.seek
(Number rate, Format format, SeekFlags flags, SeekType start_type, Number start, SeekType stop_type, Number stop)
:
Gst.Event
Create a new Gst.Event
Create a new Gst.Event
|
||
Create a new Gst.Event
Create a new Gst.Event
|
||
Create a new Gst.Event
Create a new Gst.Event
|
||
get_seqnum
()
:
Number
Retrieve the sequence number of a event.
Retrieve the sequence number of a event. Events have ever-incrementing sequence numbers, which may also be set explicitly via gst_event_set_seqnum(). Sequence numbers are typically used to indicate that a event corresponds to some other set of events or messages, for example an EOS event corresponding to a SEEK event. It is considered good practice to make this correspondence when possible, though it is not required. Note that events and messages share the same sequence number incrementor; two events or messages will never not have the same sequence number unless that correspondence was made explicitly. MT safe.
|
Gst.Event | |
get_structure
()
:
Gst.Structure
Access the structure of the event.
Access the structure of the event. owned by the event, which means that you should not free it and that the pointer becomes invalid when you free the event. MT safe.
|
Gst.Event | |
Gst.Event | ||
Get the format, minsize, maxsize and async-flag in the buffersize event.
Get the format, minsize, maxsize and async-flag in the buffersize event.
|
Gst.Event | |
parse_latency
(Number latency)
:
none
Get the latency in the latency event.
Get the latency in the latency event.
|
Gst.Event | |
Get the update flag, rate, format, start, stop and position in the newsegment event.
Get the update flag, rate, format, start, stop and position in the newsegment event. In general, gst_event_parse_new_segment_full() should be used instead of this, to also retrieve the applied_rate value of the segment. See gst_event_new_new_segment_full() for a full description of the newsegment event.
|
Gst.Event | |
Get the update, rate, applied_rate, format, start, stop and position in the newsegment event.
Get the update, rate, applied_rate, format, start, stop and position in the newsegment event. See gst_event_new_new_segment_full() for a full description of the newsegment event.
|
Gst.Event | |
Get the proportion, diff and timestamp in the qos event.
|
Gst.Event | |
parse_seek
(Number rate, Format format, SeekFlags flags, SeekType start_type, Number start, SeekType stop_type)
:
Object
Parses a seek event and stores the results in the given result locations.
Parses a seek event and stores the results in the given result locations.
|
Gst.Event | |
parse_sink_message
(Message msg)
:
none
Parse the sink-message event.
Parse the sink-message event. Unref msg after usage.
|
Gst.Event | |
Parse the step event.
Parse the step event.
|
Gst.Event | |
parse_tag
(TagList taglist)
:
none
Parses a tag event and stores the results in the given taglist location.
Parses a tag event and stores the results in the given taglist location.
|
Gst.Event | |
set_seqnum
(Number seqnum)
:
none
Set the sequence number of a event.
Set the sequence number of a event. This function might be called by the creator of a event to indicate that the event relates to other events or messages. See gst_event_get_seqnum() for more information. MT safe.
|
Gst.Event |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gst.Element
Method |
Sends an event to an element.
|
Gst.Pad
Method |
Sends the event to the peer of the given pad.
|
Gst.Pad
Method |
Invokes the default event handler for the given pad.
|
Gst.Pad
Method |
Sends the event to the pad.
|
GstInterfaces
Method |
Inspect a GstEvent and return the GstNavigationEventType of the event, or GST_NAVIGATION_EVENT_INVALID if the event is not a GstNavigation event.
|
GstInterfaces
Method |
navigation event.
|
GstInterfaces
Method |
press.
|
GstInterfaces
Method |
with the event.
|
GstInterfaces
Method |
Inspect a GstNavigation mouse movement event and extract the coordinates of the event.
|
GstVideo
Method |
Creates a new Still Frame event.
|
GstVideo
Method |
Parse a GstEvent, identify if it is a Still Frame event, and return the still-frame state from the event if it is.
|