GstMessageType

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 seek in the pipeline to a new position. GST_MESSAGE_ERROR an error occured. Whe 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 infor 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 framestep finished. This message is not yet implemented. GST_MESSAGE_CLOCK_PROVIDE an element notifies its capability of providing a clock. 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. GST_MESSAGE_NEW_CLOCK a new clock was selected in the pipeline. GST_MESSAGE_STRUCTURE_CHANGE the structure of the pipeline changed. 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. GST_MESSAGE_SEGMENT_DONE pipeline completed playback of a segment. GST_MESSAGE_DURATION The duration of a pipeline changed. GST_MESSAGE_LATENCY Posted by elements when their latency changes. The pipeline will calculate and distribute a new latency. Since: 0.10.12 GST_MESSAGE_ASYNC_START Posted by elements when they start an ASYNC state change. Since: 0.10.13 GST_MESSAGE_ASYNC_DONE Posted by elements when they complete an ASYNC state change. Since: 0.10.13 GST_MESSAGE_ANY mask for all of the above messages.

Values

ValueMeaning
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(1 << 18)
LATENCY(1 << 19)
ASYNC_START(1 << 20)
ASYNC_DONE(1 << 21)
ANY~0

Meta