* 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.
/**
* 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
/**
* 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