gstpad: Specify transfer full for gst_pad_get_caps()
authorEdward Hervey <edward.hervey@collabora.co.uk>
Mon, 10 Oct 2011 14:52:43 +0000 (16:52 +0200)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Mon, 10 Oct 2011 14:55:19 +0000 (16:55 +0200)
It increments the reference count of the returned caps.

gst/gstpad.c

index a99ab67..fbec562 100644 (file)
@@ -2425,7 +2425,7 @@ gst_pad_get_current_caps (GstPad * pad)
  * Note that this function does not return writable #GstCaps, use
  * gst_caps_make_writable() before modifying the caps.
  *
- * Returns: the caps of the pad with incremented ref-count.
+ * Returns: (transfer full): the caps of the pad with incremented ref-count.
  */
 GstCaps *
 gst_pad_get_caps (GstPad * pad, GstCaps * filter)