From: Tim-Philipp Müller Date: Wed, 18 Jul 2012 11:30:59 +0000 (+0100) Subject: query: fix gst_query_parse_nth_allocation_pool() annotation X-Git-Tag: RELEASE-0.11.93~74 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8e946d5d1692bf6865cd3bd262c49fe89970d8e8;p=platform%2Fupstream%2Fgstreamer.git query: fix gst_query_parse_nth_allocation_pool() annotation It returns a ref to the pool. --- diff --git a/gst/gstquery.c b/gst/gstquery.c index 786691c..021c527 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,