From 917bfc5df7729f5f116055a3e9f0b54cb18ddea8 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Tue, 11 Oct 2011 13:51:37 +0200 Subject: [PATCH] gst: More 'transfer' annotations --- gst/gstpadtemplate.c | 2 +- gst/gstvalue.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/gstpadtemplate.c b/gst/gstpadtemplate.c index bf8d576894..86251b0fa1 100644 --- a/gst/gstpadtemplate.c +++ b/gst/gstpadtemplate.c @@ -322,7 +322,7 @@ gst_static_pad_template_get (GstStaticPadTemplate * pad_template) * @name_template: the name template. * @direction: the #GstPadDirection of the template. * @presence: the #GstPadPresence of the pad. - * @caps: a #GstCaps set for the template. + * @caps: (transfer none): a #GstCaps set for the template. * * Creates a new pad template with a name according to the given template * and with the given arguments. diff --git a/gst/gstvalue.c b/gst/gstvalue.c index 6cbed599a9..c9f07b81f4 100644 --- a/gst/gstvalue.c +++ b/gst/gstvalue.c @@ -3488,7 +3488,7 @@ gst_value_can_intersect (const GValue * value1, const GValue * value2) /** * gst_value_intersect: - * @dest: (out caller-allocates): a uninitialized #GValue that will hold the calculated + * @dest: (out caller-allocates) (transfer full): a uninitialized #GValue that will hold the calculated * intersection value * @value1: a value to intersect * @value2: another value to intersect