caps: Add (transfer full) annotation to simplify() and subtract() return value

https://bugzilla.gnome.org/show_bug.cgi?id=759948
This commit is contained in:
Sebastian Dröge 2015-12-29 14:32:47 +02:00
parent 2ee33237c8
commit 2c272d74fd

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