From: Edward Hervey Date: Fri, 17 Dec 2010 18:19:40 +0000 (+0100) Subject: base: documentation fixups and annotation X-Git-Tag: RELEASE-0.10.32~176 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bf41fb056ab0e9671a724c0983bf96348eda40bb;p=platform%2Fupstream%2Fgstreamer.git base: documentation fixups and annotation --- diff --git a/libs/gst/base/gstcollectpads.c b/libs/gst/base/gstcollectpads.c index d3120db..8d0aa14 100644 --- a/libs/gst/base/gstcollectpads.c +++ b/libs/gst/base/gstcollectpads.c @@ -741,7 +741,7 @@ gst_collect_pads_stop (GstCollectPads * pads) * should be called with the @pads LOCK held, such as in the callback * handler. * - * Returns: The buffer in @data or NULL if no buffer is queued. + * Returns: (transfer full): The buffer in @data or NULL if no buffer is queued. * should unref the buffer after usage. * * MT safe. diff --git a/libs/gst/base/gsttypefindhelper.c b/libs/gst/base/gsttypefindhelper.c index 653f905..8695b92 100644 --- a/libs/gst/base/gsttypefindhelper.c +++ b/libs/gst/base/gsttypefindhelper.c @@ -217,8 +217,8 @@ helper_find_get_length (gpointer data) /** * gst_type_find_helper_get_range_ext: * @obj: A #GstObject that will be passed as first argument to @func - * @func: A generic #GstTypeFindHelperGetRangeFunction that will be used - * to access data at random offsets when doing the typefinding + * @func: (scope call): A generic #GstTypeFindHelperGetRangeFunction that will + * be used to access data at random offsets when doing the typefinding * @size: The length in bytes * @extension: extension of the media * @prob: (out) (allow-none): location to store the probability of the found @@ -348,8 +348,8 @@ gst_type_find_helper_get_range_ext (GstObject * obj, /** * gst_type_find_helper_get_range: * @obj: A #GstObject that will be passed as first argument to @func - * @func: A generic #GstTypeFindHelperGetRangeFunction that will be used - * to access data at random offsets when doing the typefinding + * @func: (scope call): A generic #GstTypeFindHelperGetRangeFunction that will + * be used to access data at random offsets when doing the typefinding * @size: The length in bytes * @prob: (out) (allow-none): location to store the probability of the found * caps, or #NULL