Gst.Message
Messages are implemented as a subclass of Gst.MiniObject with a generic Gst.Structure as the content. This allows for writing custom messages without requiring an API change while allowing a wide range of different types of messages.
Messages are posted by objects in the pipeline and are passed to the application using the Gst.Bus.
The basic use pattern of posting a message on a Gst.Bus is as follows:
<example> <title>Posting a Gst.Message</title> <programlisting> gst_bus_post (bus, Gst.new_eos); </programlisting> </example>
A Gst.Element usually posts messages on the bus provided by the parent container using Gst.Element.prototype.post_message.
Last reviewed on 2005-11-09 (0.9.4)