caps: Add (transfer full) annotation to simplify() and subtract() return value
authorSebastian Dröge <sebastian@centricular.com>
Tue, 29 Dec 2015 12:32:47 +0000 (14:32 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 29 Dec 2015 12:32:47 +0000 (14:32 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=759948

gst/gstcaps.c

index 57fb54a..0d00926 100644 (file)
@@ -1757,7 +1757,7 @@ gst_caps_structure_subtract (GSList ** into, const GstStructure * minuend,
  * <note>This function does not work reliably if optional properties for caps
  * are included on one caps and omitted on the other.</note>
  *
- * Returns: the resulting caps
+ * Returns: (transfer full): the resulting caps
  */
 GstCaps *
 gst_caps_subtract (GstCaps * minuend, GstCaps * subtrahend)
@@ -2055,7 +2055,7 @@ gst_caps_switch_structures (GstCaps * caps, GstStructure * old,
  *
  * This method does not preserve the original order of @caps.
  *
- * Returns: The simplified caps.
+ * Returns: (transfer full): The simplified caps.
  */
 GstCaps *
 gst_caps_simplify (GstCaps * caps)