From 24cac0afa30bdc90227fe2351a31ae3b6d3c4ba3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 2 Apr 2013 23:51:06 +0100 Subject: [PATCH] docs: more since markers and other docs fixes --- gst/gstcontext.c | 6 ++++-- gst/gstevent.c | 6 +++++- gst/gstevent.h | 2 ++ tests/check/gst/.gitignore | 1 + 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/gst/gstcontext.c b/gst/gstcontext.c index 6c6c38e4d7..3d63fb41ba 100644 --- a/gst/gstcontext.c +++ b/gst/gstcontext.c @@ -49,6 +49,8 @@ * 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" @@ -138,7 +140,7 @@ gst_context_init (GstContext * context) * * Returns: (transfer full): The new context. * - * MT safe. + * Since: 1.2 */ GstContext * gst_context_new (void) @@ -169,7 +171,7 @@ 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) diff --git a/gst/gstevent.c b/gst/gstevent.c index 5517ecfb48..4693c35d65 100644 --- a/gst/gstevent.c +++ b/gst/gstevent.c @@ -1639,12 +1639,14 @@ gst_event_parse_segment_done (GstEvent * event, GstFormat * format, /** * 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) @@ -1670,6 +1672,8 @@ 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) diff --git a/gst/gstevent.h b/gst/gstevent.h index 1cc72aa28d..1c4104ffc1 100644 --- a/gst/gstevent.h +++ b/gst/gstevent.h @@ -99,6 +99,8 @@ typedef enum { * @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. diff --git a/tests/check/gst/.gitignore b/tests/check/gst/.gitignore index 6d44c67404..513a1a63db 100644 --- a/tests/check/gst/.gitignore +++ b/tests/check/gst/.gitignore @@ -7,6 +7,7 @@ gstbuffer gstbufferlist gstbus gstcaps +gstcapsfeatures gstchildproxy gstclock gstcontroller