gi: Fix warnings in libgstaudio

* Duplicate section
* Miss-named parameter
* Missing transfer none annotation for meta
This commit is contained in:
Nicolas Dufresne 2015-06-16 14:34:04 -04:00
parent f5906122fb
commit e8aba7db8b
3 changed files with 3 additions and 9 deletions

View file

@ -16,12 +16,6 @@
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
/**
* SECTION:gstaudio
* @short_description: Support library for audio elements
*
* This library contains some helper functions for audio elements.
*/
#ifdef HAVE_CONFIG_H
# include "config.h"

View file

@ -135,7 +135,7 @@ typedef enum
* @etime: external clock time
* @itime: internal clock time
* @requested_skew: skew amount requested by the callback
* @discont: TRUE if there was a discontinuity in the average skew
* @discont_reason: TRUE if there was a discontinuity in the average skew
* @user_data: user data
*
* This function is set with gst_audio_base_sink_set_custom_slaving_callback()

View file

@ -79,7 +79,7 @@ gst_audio_downmix_meta_transform (GstBuffer * dest, GstMeta * meta,
* Find the #GstAudioDownmixMeta on @buffer for the given destination
* channel positions.
*
* Returns: the #GstAudioDownmixMeta on @buffer.
* Returns: (transfer none): the #GstAudioDownmixMeta on @buffer.
*/
GstAudioDownmixMeta *
gst_buffer_get_audio_downmix_meta_for_channels (GstBuffer * buffer,
@ -119,7 +119,7 @@ gst_buffer_get_audio_downmix_meta_for_channels (GstBuffer * buffer,
* the input channels with the coefficients in @matrix[i] and taking the sum
* of the results.
*
* Returns: the #GstAudioDownmixMeta on @buffer.
* Returns: (transfer none): the #GstAudioDownmixMeta on @buffer.
*/
GstAudioDownmixMeta *
gst_buffer_add_audio_downmix_meta (GstBuffer * buffer,