From 8e946d5d1692bf6865cd3bd262c49fe89970d8e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 18 Jul 2012 12:30:59 +0100 Subject: [PATCH] query: fix gst_query_parse_nth_allocation_pool() annotation It returns a ref to the pool. --- gst/gstquery.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gst/gstquery.c b/gst/gstquery.c index 786691c685..021c527650 100644 --- a/gst/gstquery.c +++ b/gst/gstquery.c @@ -1547,12 +1547,14 @@ gst_query_get_n_allocation_pools (GstQuery * query) * gst_query_parse_nth_allocation_pool: * @query: A valid #GstQuery of type GST_QUERY_ALLOCATION. * @index: index to parse - * @pool: (out) (allow-none) (transfer none): the #GstBufferPool + * @pool: (out) (allow-none) (transfer full): the #GstBufferPool * @size: (out) (allow-none): the size * @min_buffers: (out) (allow-none): the min buffers * @max_buffers: (out) (allow-none): the max buffers * * Get the pool parameters in @query. + * + * Unref @pool with gst_object_unref() when it's not needed any more. */ void gst_query_parse_nth_allocation_pool (GstQuery * query, guint index,