Module: Gst::MessageType

Defined in:
(unknown)

Constant Summary collapse

UNKNOWN =

an undefined message

0 or :unknown
EOS =

end-of-stream reached in a pipeline. The application will only receive this message in the PLAYING state and every time it sets a pipeline to PLAYING that is in the EOS state. The application can perform a flushing seek in the pipeline, which will undo the EOS state again.

1 or :eos
ERROR =

an error occurred. When the application receives an error message it should stop playback of the pipeline and not assume that more data will be played. It is possible to specify a redirection url to the error messages by setting a redirect-location field into the error message, application or high level bins might use the information as required.

2 or :error
WARNING =

a warning occurred.

4 or :warning
INFO =

an info message occurred

8 or :info
TAG =

a tag was found.

16 or :tag
BUFFERING =

the pipeline is buffering. When the application receives a buffering message in the PLAYING state for a non-live pipeline it must PAUSE the pipeline until the buffering completes, when the percentage field in the message is 100%. For live pipelines, no action must be performed and the buffering percentage can be used to inform the user about the progress.

32 or :buffering
STATE_CHANGED =

a state change happened

64 or :state_changed
STATE_DIRTY =

an element changed state in a streaming thread. This message is deprecated.

128 or :state_dirty
STEP_DONE =

a stepping operation finished.

256 or :step_done
CLOCK_PROVIDE =

an element notifies its capability of providing a clock. This message is used internally and never forwarded to the application.

512 or :clock_provide
CLOCK_LOST =

The current clock as selected by the pipeline became unusable. The pipeline will select a new clock on the next PLAYING state change. The application should set the pipeline to PAUSED and back to PLAYING when this message is received.

1024 or :clock_lost
NEW_CLOCK =

a new clock was selected in the pipeline.

2048 or :new_clock
STRUCTURE_CHANGE =

the structure of the pipeline changed. This message is used internally and never forwarded to the application.

4096 or :structure_change
STREAM_STATUS =

status about a stream, emitted when it starts, stops, errors, etc..

8192 or :stream_status
APPLICATION =

message posted by the application, possibly via an application-specific element.

16384 or :application
ELEMENT =

element-specific message, see the specific element's documentation

32768 or :element
SEGMENT_START =

pipeline started playback of a segment. This message is used internally and never forwarded to the application.

65536 or :segment_start
SEGMENT_DONE =

pipeline completed playback of a segment. This message is forwarded to the application after all elements that posted GST_MESSAGE_SEGMENT_START posted a GST_MESSAGE_SEGMENT_DONE message.

131072 or :segment_done
DURATION_CHANGED =

The duration of a pipeline changed. The application can get the new duration with a duration query.

262144 or :duration_changed
LATENCY =

Posted by elements when their latency changes. The application should recalculate and distribute a new latency.

524288 or :latency
ASYNC_START =

Posted by elements when they start an ASYNC Gst::StateChange. This message is not forwarded to the application but is used internally.

1048576 or :async_start
ASYNC_DONE =

Posted by elements when they complete an ASYNC Gst::StateChange. The application will only receive this message from the toplevel pipeline.

2097152 or :async_done
REQUEST_STATE =

Posted by elements when they want the pipeline to change state. This message is a suggestion to the application which can decide to perform the state change on (part of) the pipeline.

4194304 or :request_state
STEP_START =

A stepping operation was started.

8388608 or :step_start
QOS =

A buffer was dropped or an element changed its processing strategy for Quality of Service reasons.

16777216 or :qos
PROGRESS =

A progress message.

33554432 or :progress
TOC =

A new table of contents (TOC) was found or previously found TOC was updated.

67108864 or :toc
RESET_TIME =

Message to request resetting the pipeline's running time from the pipeline. This is an internal message which applications will likely never receive.

134217728 or :reset_time
STREAM_START =

Message indicating start of a new stream. Useful e.g. when using playbin in gapless playback mode, to get notified when the next title actually starts playing (which will be some time after the URI for the next title has been set).

268435456 or :stream_start
NEED_CONTEXT =

Message indicating that an element wants a specific context (Since: 1.2)

536870912 or :need_context
HAVE_CONTEXT =

Message indicating that an element created a context (Since: 1.2)

1073741824 or :have_context
EXTENDED =

Message is an extended message type (see below). These extended message IDs can't be used directly with mask-based API like gst_bus_poll() or gst_bus_timed_pop_filtered(), but you can still filter for GST_MESSAGE_EXTENDED and then check the result for the specific type. (Since: 1.4)

2147483648 or :extended
DEVICE_ADDED =

Message indicating a Gst::Device was added to a Gst::DeviceProvider (Since: 1.4)

2147483649 or :device_added
DEVICE_REMOVED =

Message indicating a Gst::Device was removed from a Gst::DeviceProvider (Since: 1.4)

2147483650 or :device_removed
PROPERTY_NOTIFY =

Message indicating a #GObject property has changed (Since: 1.10)

2147483651 or :property_notify
STREAM_COLLECTION =

Message indicating a new Gst::StreamCollection is available (Since: 1.10)

2147483652 or :stream_collection
STREAMS_SELECTED =

Message indicating the active selection of Gst::Streams has changed (Since: 1.10)

2147483653 or :streams_selected
REDIRECT =

Message indicating to request the application to try to play the given URL(s). Useful if for example a HTTP 302/303 response is received with a non-HTTP URL inside. (Since: 1.10)

2147483654 or :redirect
DEVICE_CHANGED =

Message indicating a Gst::Device was changed a Gst::DeviceProvider (Since: 1.16)

2147483655 or :device_changed
INSTANT_RATE_REQUEST =

Message sent by elements to request the running time from the pipeline when an instant rate change should be applied (which may be in the past when the answer arrives). (Since: 1.18)

2147483656 or :instant_rate_request
ANY =

mask for all of the above messages.

4294967295 or :any