query: fix docs
authorWim Taymans <wtaymans@redhat.com>
Fri, 4 Dec 2015 10:56:45 +0000 (11:56 +0100)
committerWim Taymans <wtaymans@redhat.com>
Fri, 4 Dec 2015 10:57:45 +0000 (11:57 +0100)
The allocation query has parameters with the meta API, not flags.

gst/gstquery.c

index 2828bd5..72d783d 100644 (file)
@@ -1820,7 +1820,7 @@ gst_query_get_n_allocation_metas (GstQuery * query)
  * gst_query_parse_nth_allocation_meta:
  * @query: a GST_QUERY_ALLOCATION type query #GstQuery
  * @index: position in the metadata API array to read
- * @params: (out) (transfer none) (allow-none): API specific flags
+ * @params: (out) (transfer none) (allow-none): API specific parameters
  *
  * Parse an available query and get the metadata API
  * at @index of the metadata API array.
@@ -1884,8 +1884,8 @@ gst_query_remove_nth_allocation_meta (GstQuery * query, guint index)
  * @index: (out) (transfer none) (allow-none): the index
  *
  * Check if @query has metadata @api set. When this function returns %TRUE,
- * @index will contain the index where the requested API and the flags can be
- * found.
+ * @index will contain the index where the requested API and the parameters
+ * can be found.
  *
  * Returns: %TRUE when @api is in the list of metadata.
  */