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 8e4c80c465
commit ccec9e6b90

View file

@ -1753,7 +1753,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)
@ -2045,7 +2045,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)