From 2c272d74fd173148ce6c4137a454bc70cf71a911 Mon Sep 17 00:00:00 2001 From: =?utf8?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 57fb54a..0d00926 100644 --- a/gst/gstcaps.c +++ b/gst/gstcaps.c @@ -1757,7 +1757,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) @@ -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) -- 2.7.4