query: sprinkle some Since 1.2 markers in docs
authorTim-Philipp Müller <tim@centricular.net>
Tue, 16 Jul 2013 13:46:15 +0000 (14:46 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Tue, 16 Jul 2013 13:48:19 +0000 (14:48 +0100)
gst/gstquery.c
gst/gstquery.h

index 564e244..2a9fb2f 100644 (file)
@@ -1630,6 +1630,8 @@ gst_query_set_nth_allocation_pool (GstQuery * query, guint index,
  * @index: position in the allocation pool array to remove
  *
  * Remove the allocation pool at @index of the allocation pool array.
+ *
+ * Since: 1.2
  */
 void
 gst_query_remove_nth_allocation_pool (GstQuery * query, guint index)
@@ -1972,6 +1974,8 @@ gst_query_set_nth_allocation_param (GstQuery * query, guint index,
  * @index: position in the allocation param array to remove
  *
  * Remove the allocation param at @index of the allocation param array.
+ *
+ * Since: 1.2
  */
 void
 gst_query_remove_nth_allocation_param (GstQuery * query, guint index)
@@ -2440,6 +2444,8 @@ gst_query_new_drain (void)
  * Free-function: gst_query_unref
  *
  * Returns: (transfer full): a new #GstQuery
+ *
+ * Since: 1.2
  */
 GstQuery *
 gst_query_new_context (void)
@@ -2459,6 +2465,8 @@ gst_query_new_context (void)
  * @context: the requested #GstContext
  *
  * Answer a context query by setting the requested context.
+ *
+ * Since: 1.2
  */
 void
 gst_query_set_context (GstQuery * query, GstContext * context)
@@ -2480,6 +2488,8 @@ gst_query_set_context (GstQuery * query, GstContext * context)
  *
  * Get the context from the context @query. The context remains valid as long as
  * @query remains valid.
+ *
+ * Since: 1.2
  */
 void
 gst_query_parse_context (GstQuery * query, GstContext ** context)
@@ -2507,6 +2517,8 @@ free_array_string (gpointer ptr)
  * @context_type: a context type
  *
  * Add a new context type to @query.
+ *
+ * Since: 1.2
  */
 void
 gst_query_add_context_type (GstQuery * query, const gchar * context_type)
@@ -2534,6 +2546,8 @@ gst_query_add_context_type (GstQuery * query, const gchar * context_type)
  * context-types array of the query's structure.
  *
  * Returns: the context-types array size as a #guint.
+ *
+ * Since: 1.2
  */
 guint
 gst_query_get_n_context_types (GstQuery * query)
@@ -2559,6 +2573,8 @@ gst_query_get_n_context_types (GstQuery * query)
  * from @index.
  *
  * Returns: a #gboolean indicating if the parsing succeeded.
+ *
+ * Since: 1.2
  */
 gboolean
 gst_query_parse_nth_context_type (GstQuery * query, guint index,
@@ -2589,6 +2605,8 @@ gst_query_parse_nth_context_type (GstQuery * query, guint index,
  * Check if @query is asking for @context_type.
  *
  * Returns: %TRUE if @context_type is requested.
+ *
+ * Since: 1.2
  */
 gboolean
 gst_query_has_context_type (GstQuery * query, const gchar * context_type)
index e956a2a..97234d1 100644 (file)
@@ -102,7 +102,8 @@ typedef enum {
  * @GST_QUERY_ACCEPT_CAPS: the accept caps query
  * @GST_QUERY_CAPS: the caps query
  * @GST_QUERY_DRAIN: wait till all serialized data is consumed downstream
- * @GST_QUERY_CONTEXT: query the pipeline-local context from downstream
+ * @GST_QUERY_CONTEXT: query the pipeline-local context from
+ *     downstream (since 1.2)
  *
  * Standard predefined Query types
  */
@@ -442,7 +443,7 @@ gboolean        gst_query_find_allocation_meta       (GstQuery *query, GType api
  * GstSchedulingFlags:
  * @GST_SCHEDULING_FLAG_SEEKABLE: if seeking is possible
  * @GST_SCHEDULING_FLAG_SEQUENTIAL: if sequential access is recommended
- * @GST_SCHEDULING_FLAG_BANDWIDTH_LIMITED: if bandwidth is limited and buffering possible
+ * @GST_SCHEDULING_FLAG_BANDWIDTH_LIMITED: if bandwidth is limited and buffering possible (since 1.2)
  *
  * The different scheduling flags.
  */