vorbisenc: Improve annotation of internal function
authorSebastian Rasmussen <sebras@hotmail.com>
Sat, 9 Aug 2014 12:20:32 +0000 (14:20 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 10 Aug 2014 09:43:26 +0000 (10:43 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=734541

ext/vorbis/gstvorbisenc.c

index 824390e..cdb9273 100644 (file)
@@ -616,16 +616,17 @@ gst_vorbis_enc_sink_event (GstAudioEncoder * enc, GstEvent * event)
 /*
  * (really really) FIXME: move into core (dixit tpm)
  */
-/**
+/*
  * _gst_caps_set_buffer_array:
- * @caps: a #GstCaps
+ * @caps: (transfer full): a #GstCaps
  * @field: field in caps to set
  * @buf: header buffers
  *
  * Adds given buffers to an array of buffers set as the given @field
  * on the given @caps.  List of buffer arguments must be NULL-terminated.
  *
- * Returns: input caps with a streamheader field added, or NULL if some error
+ * Returns: (transfer full): input caps with a streamheader field added, or NULL
+ *     if some error occurred
  */
 static GstCaps *
 _gst_caps_set_buffer_array (GstCaps * caps, const gchar * field,