gst: More 'transfer' annotations
authorEdward Hervey <edward.hervey@collabora.co.uk>
Tue, 11 Oct 2011 11:51:37 +0000 (13:51 +0200)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Tue, 11 Oct 2011 11:51:37 +0000 (13:51 +0200)
gst/gstpadtemplate.c
gst/gstvalue.c

index bf8d576..86251b0 100644 (file)
@@ -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.
index 6cbed59..c9f07b8 100644 (file)
@@ -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