Import line: | Gst = imports.gi.Gst; |
GIR File: | Gst-0.10.gir |
C documentation: | GstMessage |
Struct : | Message |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
cond : GLib.Cond
|
Gst.Message | |
lock : GLib.Mutex
|
Gst.Message | |
mini_object : Gst.MiniObject
|
Gst.Message | |
src : Gst.Object
|
Gst.Message | |
structure : Gst.Structure
|
Gst.Message | |
timestamp : Number
|
Gst.Message | |
type : Gst.MessageType
|
Gst.Message |
Method / Constructor | Defined By | |
---|---|---|
new Gst.Message
()
Create a new Gst.Message
Create a new Gst.Message
|
||
Create a new Gst.Message
Create a new Gst.Message
|
||
Create a new Gst.Message
Create a new Gst.Message
|
||
Create a new Gst.Message
Create a new Gst.Message
|
||
Create a new Gst.Message
Create a new Gst.Message
|
||
Create a new Gst.Message
Create a new Gst.Message
|
||
Create a new Gst.Message
Create a new Gst.Message
|
||
Create a new Gst.Message
Create a new Gst.Message
|
||
Create a new Gst.Message
Create a new Gst.Message
|
||
Create a new Gst.Message
Create a new Gst.Message
|
||
Create a new Gst.Message
Create a new Gst.Message
|
||
Create a new Gst.Message
Create a new Gst.Message
|
||
Create a new Gst.Message
Create a new Gst.Message
|
||
Create a new Gst.Message
Create a new Gst.Message
|
||
Create a new Gst.Message
Create a new Gst.Message
|
||
new Gst.Message.qos
(Object src, Boolean live, Number running_time, Number stream_time, Number timestamp, Number duration)
:
Gst.Message
Create a new Gst.Message
Create a new Gst.Message
|
||
Create a new Gst.Message
Create a new Gst.Message
|
||
Create a new Gst.Message
Create a new Gst.Message
|
||
Create a new Gst.Message
Create a new Gst.Message
|
||
new Gst.Message.state_changed
(Object src, State oldstate, State newstate, State pending)
:
Gst.Message
Create a new Gst.Message
Create a new Gst.Message
|
||
Create a new Gst.Message
Create a new Gst.Message
|
||
new Gst.Message.step_done
(Object src, Format format, Number amount, Number rate, Boolean flush, Boolean intermediate, Number duration, Boolean eos)
:
Gst.Message
Create a new Gst.Message
Create a new Gst.Message
|
||
new Gst.Message.step_start
(Object src, Boolean active, Format format, Number amount, Number rate, Boolean flush, Boolean intermediate)
:
Gst.Message
Create a new Gst.Message
Create a new Gst.Message
|
||
Create a new Gst.Message
Create a new Gst.Message
|
||
new Gst.Message.structure_change
(Object src, StructureChangeType type, Element owner, Boolean busy)
:
Gst.Message
Create a new Gst.Message
Create a new Gst.Message
|
||
Create a new Gst.Message
Create a new Gst.Message
|
||
Create a new Gst.Message
Create a new Gst.Message
|
||
Create a new Gst.Message
Create a new Gst.Message
|
||
get_seqnum
()
:
Number
Retrieve the sequence number of a message.
Retrieve the sequence number of a message. Messages have ever-incrementing sequence numbers, which may also be set explicitly via gst_message_set_seqnum(). Sequence numbers are typically used to indicate that a message corresponds to some other set of messages or events, for example a SEGMENT_DONE message 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.Message | |
get_stream_status_object
()
:
GObject.Value
Extracts the object managing the streaming thread from message.
Extracts the object managing the streaming thread from message. This object is usually of type GstTask but other types can be added in the future. The object remains valid as long as message is valid.
|
Gst.Message | |
get_structure
()
:
Gst.Structure
Access the structure of the message.
Access the structure of the message. owned by the message, which means that you should not free it and that the pointer becomes invalid when you free the message. MT safe.
|
Gst.Message | |
parse_async_start
()
:
Boolean
Extract the new_base_time from the async_start message.
Extract the new_base_time from the async_start message. MT safe.
|
Gst.Message | |
parse_buffering
()
:
Number
Extracts the buffering percent from the GstMessage.
Extracts the buffering percent from the GstMessage. see also gst_message_new_buffering(). MT safe.
|
Gst.Message | |
parse_buffering_stats
(BufferingMode mode)
:
Object
Extracts the buffering stats values from message.
Extracts the buffering stats values from message.
|
Gst.Message | |
parse_clock_lost
(Clock clock)
:
none
Extracts the lost clock from the GstMessage.
Extracts the lost clock from the GstMessage. The clock object returned remains valid until the message is freed. MT safe.
|
Gst.Message | |
Gst.Message | ||
Extracts the duration and format from the duration message.
Extracts the duration and format from the duration message. The duration might be GST_CLOCK_TIME_NONE, which indicates that the duration has changed. Applications should always use a query to retrieve the duration of a pipeline. MT safe.
|
Gst.Message | |
Extracts the GError and debug string from the GstMessage.
|
Gst.Message | |
Extracts the GError and debug string from the GstMessage.
|
Gst.Message | |
parse_new_clock
(Clock clock)
:
none
Extracts the new clock from the GstMessage.
Extracts the new clock from the GstMessage. The clock object returned remains valid until the message is freed. MT safe.
|
Gst.Message | |
parse_qos
()
:
Object
Extract the timestamps and live status from the QoS message.
Extract the timestamps and live status from the QoS message. The returned values give the running_time, stream_time, timestamp and duration of the dropped buffer. Values of GST_CLOCK_TIME_NONE mean unknown values. MT safe.
|
Gst.Message | |
filters will use GST_FORMAT_BUFFERS (frames).
filters will use GST_FORMAT_BUFFERS (frames). Audio sinks and audio filters will likely use GST_FORMAT_DEFAULT (samples). change to READY or a flushing operation. or a flushing operation. Extract the QoS stats representing the history of the current continuous pipeline playback period. When format is GST_FORMAT_UNDEFINED both dropped and processed are invalid. Values of -1 for either processed or dropped mean unknown values. MT safe.
|
Gst.Message | |
parse_qos_values
()
:
Object
|
Gst.Message | |
parse_request_state
(State state)
:
none
Extract the requested state from the request_state message.
Extract the requested state from the request_state message. MT safe.
|
Gst.Message | |
Extracts the position and format from the segment start message.
Extracts the position and format from the segment start message. MT safe.
|
Gst.Message | |
Extracts the position and format from the segment start message.
Extracts the position and format from the segment start message. MT safe.
|
Gst.Message | |
Gst.Message | ||
Gst.Message | ||
Gst.Message | ||
parse_stream_status
(StreamStatusType type, Element owner)
:
none
Extracts the stream status type and owner the GstMessage.
Extracts the stream status type and owner the GstMessage. The returned owner remains valid for as long as the reference to message is valid and should thus not be unreffed. MT safe.
|
Gst.Message | |
completed Extracts the change type and completion status from the GstMessage.
completed Extracts the change type and completion status from the GstMessage. MT safe.
|
Gst.Message | |
parse_tag
(TagList tag_list)
:
none
Extracts the tag list from the GstMessage.
Extracts the tag list from the GstMessage. The tag list returned in the output argument is a copy; the caller must free it when done. MT safe.
|
Gst.Message | |
Extracts the tag list from the GstMessage.
Extracts the tag list from the GstMessage. The tag list returned in the output argument is a copy; the caller must free it when done. MT safe.
|
Gst.Message | |
Extracts the GError and debug string from the GstMessage.
|
Gst.Message | |
set_buffering_stats
(BufferingMode mode, Number avg_in, Number avg_out, Number buffering_left)
:
none
Configures the buffering stats values in message.
Configures the buffering stats values in message.
|
Gst.Message | |
filters will use GST_FORMAT_BUFFERS (frames).
filters will use GST_FORMAT_BUFFERS (frames). Audio sinks and audio filters will likely use GST_FORMAT_DEFAULT (samples). change to READY or a flushing operation. or a flushing operation. Set the QoS stats representing the history of the current continuous pipeline playback period. When format is GST_FORMAT_UNDEFINED both dropped and processed are invalid. Values of -1 for either processed or dropped mean unknown values. MT safe.
|
Gst.Message | |
to get optimal quality.
to get optimal quality. quality level of the element. The default maximum quality is 1000000. Set the QoS values that have been calculated/analysed from the QoS data MT safe.
|
Gst.Message | |
set_seqnum
(Number seqnum)
:
none
Set the sequence number of a message.
Set the sequence number of a message. This function might be called by the creator of a message to indicate that the message relates to other messages or events. See gst_message_get_seqnum() for more information. MT safe.
|
Gst.Message | |
set_stream_status_object
(Value object)
:
none
Configures the object handling the streaming thread.
Configures the object handling the streaming thread. This is usually a GstTask object but other objects might be added in the future.
|
Gst.Message |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gst.Bus
Signal |
A message has been posted on the bus.
|
Gst.Bus
Signal |
A message has been posted on the bus.
|
Gst.Bus
Method |
Post a message on the given bus.
|
Gst.Bus
Method |
peek
()
:
Gst.Message
Peek the message on the top of the bus' queue.
|
Gst.Bus
Method |
pop
()
:
Gst.Message
Get a message from the bus.
|
Gst.Bus
Method |
pop_filtered
(MessageType types)
:
Gst.Message
Get a message matching type from the bus.
|
Gst.Bus
Method |
timed_pop
(Number timeout)
:
Gst.Message
Get a message from the bus, waiting up to the specified timeout.
|
Gst.Bus
Method |
Get a message from the bus whose type matches the message type mask types, waiting up to the specified timeout (and discarding any messages that do not match the mask provided).
|
Gst.Bus
Method |
poll for.
|
Gst.Bus
Method |
A helper GstBusFunc that can be used to convert all asynchronous messages into signals.
|
Gst.Bus
Method |
A helper GstBusSyncHandler that can be used to convert all synchronous messages into signals.
|
Gst.Element
Method |
Post a message on the element's GstBus.
|
Gst.Event
Method |
Create a new Gst.Event
|
Gst.Event
Method |
parse_sink_message
(Message msg)
:
none
Parse the sink-message event.
|
GstCheck
Method |
|
GstInterfaces
Method |
Check a bus message to see if it is a GstMixer notification message and return the GstMixerMessageType identifying which type of notification it is.
|
GstInterfaces
Method |
Extracts the contents of a mute-toggled bus message.
|
GstInterfaces
Method |
GstInterfaces.mixer_message_parse_option_changed
(Message message, MixerOptions options, Array value)
:
none
Extracts the GstMixerOptions and new value from a option-changed bus notification message.
|
GstInterfaces
Method |
GstInterfaces.mixer_message_parse_options_list_changed
(Message message, MixerOptions options)
:
none
Extracts the GstMixerOptions whose value list has changed from an options-list-changed bus notification message.
|
GstInterfaces
Method |
Extracts the contents of a record-toggled bus message.
|
GstInterfaces
Method |
Parses a volume-changed notification message and extracts the track object it refers to, as well as an array of volumes and the size of the volumes array.
|
GstInterfaces
Method |
Check a bus message to see if it is a GstNavigation event, and return the GstNavigationMessageType identifying the type of the message if so.
|
GstInterfaces
Method |
GstInterfaces.navigation_message_new_angles_changed
(Object src, Number cur_angle, Number n_angles)
:
Gst.Message
Creates a new GstNavigation message with type GST_NAVIGATION_MESSAGE_ANGLES_CHANGED for notifying an application that the current angle, or current number of angles available in a multiangle video has changed.
|
GstInterfaces
Method |
Creates a new GstNavigation message with type GST_NAVIGATION_MESSAGE_COMMANDS_CHANGED
|
GstInterfaces
Method |
FALSE if it over a non-clickable area.
|
GstInterfaces
Method |
GstInterfaces.navigation_message_parse_angles_changed
(Message message, Object out_values)
:
Boolean
or NULL Parse a GstNavigation message of type GST_NAVIGATION_MESSAGE_ANGLES_CHANGED and extract the cur_angle and n_angles parameters.
|
GstInterfaces
Method |
or NULL.
|
GstPbutils
Method |
Checks whether msg is a missing plugins message.
|
GstPbutils
Method |
Creates a missing-plugin message for element to notify the application that a decoder element for a particular set of (fixed) caps is missing.
|
GstPbutils
Method |
Creates a missing-plugin message for element to notify the application that a certain required element is missing.
|
GstPbutils
Method |
Creates a missing-plugin message for element to notify the application that an encoder element for a particular set of (fixed) caps is missing.
|
GstPbutils
Method |
Returns a localised string describing the missing feature, for use in error dialogs and the like.
|
GstPbutils
Method |
Returns an opaque string containing all the details about the missing element to be passed to an external installer called via gst_install_plugins_async() or gst_install_plugins_sync().
|
GstPbutils
Method |
Creates a missing-plugin message for element to notify the application that a sink element for a particular URI protocol is missing.
|
GstPbutils
Method |
Creates a missing-plugin message for element to notify the application that a source element for a particular URI protocol is missing.
|