From 9ddcfcf8f465faef249a58d94c9ae67c695e0caa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 18 Jul 2013 14:39:42 +0200 Subject: [PATCH] gst: Add some more Since: 1.2 --- gst/gstcaps.c | 10 ++++++++++ gst/gstmessage.c | 12 ++++++++++++ gst/gstmessage.h | 2 ++ 3 files changed, 24 insertions(+) diff --git a/gst/gstcaps.c b/gst/gstcaps.c index 12c49ebe5d..7e10a2a212 100644 --- a/gst/gstcaps.c +++ b/gst/gstcaps.c @@ -624,6 +624,8 @@ gst_caps_append_structure (GstCaps * caps, GstStructure * structure) * * Appends @structure with @features to @caps. The structure is not copied; @caps * becomes the owner of @structure. + * + * Since: 1.2 */ void gst_caps_append_structure_full (GstCaps * caps, GstStructure * structure, @@ -714,6 +716,8 @@ gst_caps_merge_structure (GstCaps * caps, GstStructure * structure) * Appends @structure with @features to @caps if its not already expressed by @caps. * * Returns: (transfer full): the merged caps. + * + * Since: 1.2 */ GstCaps * gst_caps_merge_structure_full (GstCaps * caps, GstStructure * structure, @@ -834,6 +838,8 @@ gst_caps_get_structure (const GstCaps * caps, guint index) * * Returns: (transfer none): a pointer to the #GstCapsFeatures corresponding * to @index + * + * Since: 1.2 */ GstCapsFeatures * gst_caps_get_features (const GstCaps * caps, guint index) @@ -857,6 +863,8 @@ gst_caps_get_features (const GstCaps * caps, guint index) * @features: (allow-none) (transfer full): the #GstFeatures to set * * Sets the #GstCapsFeatures @features for the structure at @index. + * + * Since: 1.2 */ void gst_caps_set_features (GstCaps * caps, guint index, GstCapsFeatures * features) @@ -1250,6 +1258,8 @@ gst_caps_is_subset_structure (const GstCaps * caps, * for more information. * * Returns: %TRUE if @structure is a subset of @caps + * + * Since: 1.2 */ gboolean gst_caps_is_subset_structure_full (const GstCaps * caps, diff --git a/gst/gstmessage.c b/gst/gstmessage.c index cb81bf7e7f..bea9860321 100644 --- a/gst/gstmessage.c +++ b/gst/gstmessage.c @@ -2161,6 +2161,8 @@ gst_message_new_stream_start (GstObject * src) * Returns: (transfer full): The new need-context message. * * MT safe. + * + * Since: 1.2 */ GstMessage * gst_message_new_need_context (GstObject * src) @@ -2212,6 +2214,8 @@ free_array_string (gpointer ptr) * @context_type: a context type * * Add a new context type to @message. + * + * Since: 1.2 */ void gst_message_add_context_type (GstMessage * message, const gchar * context_type) @@ -2239,6 +2243,8 @@ gst_message_add_context_type (GstMessage * message, const gchar * context_type) * context-types array of the message's structure. * * Returns: the context-types array size as a #guint. + * + * Since: 1.2 */ guint gst_message_get_n_context_types (GstMessage * message) @@ -2265,6 +2271,8 @@ gst_message_get_n_context_types (GstMessage * message) * from @index. * * Returns: a #gboolean indicating if the parsing succeeded. + * + * Since: 1.2 */ gboolean gst_message_parse_nth_context_type (GstMessage * message, guint index, @@ -2298,6 +2306,8 @@ gst_message_parse_nth_context_type (GstMessage * message, guint index, * Returns: (transfer full): The new have-context message. * * MT safe. + * + * Since: 1.2 */ GstMessage * gst_message_new_have_context (GstObject * src, GstContext * context) @@ -2322,6 +2332,8 @@ gst_message_new_have_context (GstObject * src, GstContext * context) * Extract the context from the HAVE_CONTEXT message. * * MT safe. + * + * Since: 1.2 */ void gst_message_parse_have_context (GstMessage * message, GstContext ** context) diff --git a/gst/gstmessage.h b/gst/gstmessage.h index 802ee1769f..66ad662571 100644 --- a/gst/gstmessage.h +++ b/gst/gstmessage.h @@ -97,6 +97,8 @@ typedef struct _GstMessage GstMessage; * 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. * * The different message types that are available.