gst: Add some more Since: 1.2
authorSebastian Dröge <slomo@circular-chaos.org>
Thu, 18 Jul 2013 12:39:42 +0000 (14:39 +0200)
committerSebastian Dröge <slomo@circular-chaos.org>
Thu, 18 Jul 2013 12:39:42 +0000 (14:39 +0200)
gst/gstcaps.c
gst/gstmessage.c
gst/gstmessage.h

index 12c49eb..7e10a2a 100644 (file)
@@ -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,
index cb81bf7..bea9860 100644 (file)
@@ -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)
index 802ee17..66ad662 100644 (file)
@@ -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.