* later an element is posting a GST_MESSAGE_NEED_CONTEXT message for a specific
* context that was created by an element before the application should pass it
* to the complete pipeline.
+ *
+ * Since: 1.2
*/
#include "gst_private.h"
*
* Returns: (transfer full): The new context.
*
- * MT safe.
+ * Since: 1.2
*/
GstContext *
gst_context_new (void)
* still owned by the context, which means that you should not modify it,
* free it and that the pointer becomes invalid when you free the context.
*
- * MT safe.
+ * Since: 1.2
*/
const GstStructure *
gst_context_get_structure (GstContext * context)
/**
* gst_event_new_context:
- * @msg: (transfer full): the #GstContext
+ * @context: (transfer full): the #GstContext
*
* Create a new context event. The purpose of the context event is
* to pass a pipeline-local context to downstream elements.
*
* Returns: (transfer full): a new #GstEvent
+ *
+ * Since: 1.2
*/
GstEvent *
gst_event_new_context (GstContext * context)
* @context: (out) (transfer full): a pointer to store the #GstContext in.
*
* Parse the context event. Unref @context after usage.
+ *
+ * Since: 1.2
*/
void
gst_event_parse_context (GstEvent * event, GstContext ** context)
* @GST_EVENT_GAP: Marks a gap in the datastream.
* @GST_EVENT_TOC: An event which indicates that a new table of contents (TOC)
* was found or updated.
+ * @GST_EVENT_CONTEXT: An event to communicate a #GstContext to other
+ * elements (Since 1.2)
* @GST_EVENT_QOS: A quality message. Used to indicate to upstream elements
* that the downstream elements should adjust their processing
* rate.
gstbufferlist
gstbus
gstcaps
+gstcapsfeatures
gstchildproxy
gstclock
gstcontroller