From ccec9e6b90a41c724db86ee2cab3f96e319187c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 29 Dec 2015 14:32:47 +0200 Subject: [PATCH] caps: Add (transfer full) annotation to simplify() and subtract() return value https://bugzilla.gnome.org/show_bug.cgi?id=759948 --- gst/gstcaps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/gstcaps.c b/gst/gstcaps.c index 8fd1f23ea4..a730c55df6 100644 --- a/gst/gstcaps.c +++ b/gst/gstcaps.c @@ -1753,7 +1753,7 @@ gst_caps_structure_subtract (GSList ** into, const GstStructure * minuend, * This function does not work reliably if optional properties for caps * are included on one caps and omitted on the other. * - * 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)