Value | Meaning |
---|---|
UNKNOWN0 | |
EOS(1 << 0) | |
ERROR(1 << 1) | |
WARNING(1 << 2) | |
INFO(1 << 3) | |
TAG(1 << 4) | |
BUFFERING(1 << 5) | |
STATE_CHANGED(1 << 6) | |
STATE_DIRTY(1 << 7) | |
STEP_DONE(1 << 8) | |
CLOCK_PROVIDE(1 << 9) | |
CLOCK_LOST(1 << 10) | |
NEW_CLOCK(1 << 11) | |
STRUCTURE_CHANGE(1 << 12) | |
STREAM_STATUS(1 << 13) | |
APPLICATION(1 << 14) | |
ELEMENT(1 << 15) | |
SEGMENT_START(1 << 16) | |
SEGMENT_DONE(1 << 17) | |
DURATION_CHANGED(1 << 18) | |
LATENCY(1 << 19) | |
ASYNC_START(1 << 20) | |
ASYNC_DONE(1 << 21) | |
REQUEST_STATE(1 << 22) | |
STEP_START(1 << 23) | |
QOS(1 << 24) | |
PROGRESS(1 << 25) | |
TOC(1 << 26) | |
RESET_TIME(1 << 27) | |
STREAM_START(1 << 28) | |
NEED_CONTEXT(1 << 29) | |
HAVE_CONTEXT(1 << 30) | |
ANY~0 |
The different message types that are available. GST_MESSAGE_UNKNOWN an undefined message GST_MESSAGE_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. GST_MESSAGE_ERROR an error occured. When the application receives an error message it should stop playback of the pipeline and not assume that more data will be played. GST_MESSAGE_WARNING a warning occured. GST_MESSAGE_INFO an info message occured GST_MESSAGE_TAG a tag was found. GST_MESSAGE_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. GST_MESSAGE_STATE_CHANGED a state change happened GST_MESSAGE_STATE_DIRTY an element changed state in a streaming thread. This message is deprecated. GST_MESSAGE_STEP_DONE a stepping operation finished. GST_MESSAGE_CLOCK_PROVIDE an element notifies its capability of providing a clock. This message is used internally and never forwarded to the application. GST_MESSAGE_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. GST_MESSAGE_NEW_CLOCK a new clock was selected in the pipeline. GST_MESSAGE_STRUCTURE_CHANGE the structure of the pipeline changed. This message is used internally and never forwarded to the application. GST_MESSAGE_STREAM_STATUS status about a stream, emitted when it starts, stops, errors, etc.. GST_MESSAGE_APPLICATION message posted by the application, possibly via an application-specific element. GST_MESSAGE_ELEMENT element-specific message, see the specific element's documentation GST_MESSAGE_SEGMENT_START pipeline started playback of a segment. This message is used internally and never forwarded to the application. GST_MESSAGE_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. GST_MESSAGE_DURATION_CHANGED The duration of a pipeline changed. The application can get the new duration with a duration query. GST_MESSAGE_LATENCY Posted by elements when their latency changes. The application should recalculate and distribute a new latency. GST_MESSAGE_ASYNC_START Posted by elements when they start an ASYNC GstStateChange. This message is not forwarded to the application but is used internally. GST_MESSAGE_ASYNC_DONE Posted by elements when they complete an ASYNC GstStateChange. The application will only receive this message from the toplevel pipeline. GST_MESSAGE_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. GST_MESSAGE_STEP_START A stepping operation was started. GST_MESSAGE_QOS A buffer was dropped or an element changed its processing strategy for Quality of Service reasons. GST_MESSAGE_PROGRESS A progress message. GST_MESSAGE_TOC A new table of contents (TOC) was found or previously found TOC was updated. GST_MESSAGE_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. GST_MESSAGE_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). GST_MESSAGE_NEED_CONTEXT Message indicating that an element wants a specific context (Since 1.2) GST_MESSAGE_HAVE_CONTEXT Message indicating that an element created a context (Since 1.2) GST_MESSAGE_ANY mask for all of the above messages.