gstpad: Specify transfer full for gst_pad_get_caps()

It increments the reference count of the returned caps.
This commit is contained in:
Edward Hervey 2011-10-10 16:52:43 +02:00
parent 42fcb1175b
commit 86656b44af

View 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)