From: Edward Hervey Date: Tue, 11 Oct 2011 11:51:37 +0000 (+0200) Subject: gst: More 'transfer' annotations X-Git-Tag: RELEASE-0.11.2~627 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=917bfc5df7729f5f116055a3e9f0b54cb18ddea8;p=platform%2Fupstream%2Fgstreamer.git gst: More 'transfer' annotations --- diff --git a/gst/gstpadtemplate.c b/gst/gstpadtemplate.c index bf8d576..86251b0 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 6cbed59..c9f07b8 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