From 87ab2603da2fd27ab4b7416839bce8645403cbeb Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 4 Dec 2015 11:56:45 +0100 Subject: [PATCH] query: fix docs The allocation query has parameters with the meta API, not flags. --- gst/gstquery.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gst/gstquery.c b/gst/gstquery.c index 2828bd550a..72d783d319 100644 --- a/gst/gstquery.c +++ b/gst/gstquery.c @@ -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. */