base: documentation fixups and annotation
authorEdward Hervey <edward.hervey@collabora.co.uk>
Fri, 17 Dec 2010 18:19:40 +0000 (19:19 +0100)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Fri, 17 Dec 2010 18:19:40 +0000 (19:19 +0100)
libs/gst/base/gstcollectpads.c
libs/gst/base/gsttypefindhelper.c

index d3120db..8d0aa14 100644 (file)
@@ -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.
index 653f905..8695b92 100644 (file)
@@ -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