audiometa: fix g-i warning
authorTim-Philipp Müller <tim@centricular.com>
Sat, 23 Mar 2019 20:08:56 +0000 (20:08 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 23 Mar 2019 20:08:56 +0000 (20:08 +0000)
gstaudiometa.c:382: Warning: GstAudio: gst_buffer_add_audio_meta: return value: Invalid non-constant return of bare structure or union; register as boxed type or (skip)

gst-libs/gst/audio/gstaudiometa.c

index 7ebbad1..ec93744 100644 (file)
@@ -379,7 +379,7 @@ gst_audio_meta_transform (GstBuffer * dest, GstMeta * meta,
  * out-of-bounds memory access on @buffer. This is also checked, which means
  * that you must add enough memory on the @buffer before adding this meta.
  *
- * Returns: the #GstAudioMeta that was attached on the @buffer
+ * Returns: (transfer none): the #GstAudioMeta that was attached on the @buffer
  *
  * Since: 1.16
  */