utils: add 'transfer full' annotation to gst_pad_peer_query_caps
authorAurélien Zanelli <aurelien.zanelli@darkosphere.fr>
Sat, 19 Mar 2016 11:55:09 +0000 (12:55 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 21 Mar 2016 08:23:53 +0000 (10:23 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=763912

gst/gstutils.c

index 432d230..69458c0 100644 (file)
@@ -2867,9 +2867,9 @@ gst_pad_query_caps (GstPad * pad, GstCaps * filter)
  * downstream in the preferred order. @filter might be %NULL but
  * if it is not %NULL the returned caps will be a subset of @filter.
  *
- * Returns: the caps of the peer pad with incremented ref-count. When there is
- * no peer pad, this function returns @filter or, when @filter is %NULL, ANY
- * caps.
+ * Returns: (transfer full): the caps of the peer pad with incremented
+ * ref-count. When there is no peer pad, this function returns @filter or,
+ * when @filter is %NULL, ANY caps.
  */
 GstCaps *
 gst_pad_peer_query_caps (GstPad * pad, GstCaps * filter)