From: Thibault Saunier Date: Thu, 15 Dec 2016 13:57:14 +0000 (-0300) Subject: audio: Fix introspection annotation X-Git-Tag: 1.12.2~237 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8bbf67c37d055d65fff4a18e854de8fda72d76d9;p=platform%2Fupstream%2Fgst-plugins-base.git audio: Fix introspection annotation In gst_audio_check_valid_channel_positions the mask is an out parameter. And minor conversion from a print to a GST_ERROR. --- diff --git a/gst-libs/gst/audio/audio-channels.c b/gst-libs/gst/audio/audio-channels.c index 77bbccf57..8097a4959 100644 --- a/gst-libs/gst/audio/audio-channels.c +++ b/gst-libs/gst/audio/audio-channels.c @@ -312,7 +312,7 @@ gst_audio_check_valid_channel_positions (const GstAudioChannelPosition * * @position: (array length=channels): The %GstAudioChannelPositions * @channels: The number of channels. * @force_order: Only consider the GStreamer channel order. - * @channel_mask: (array): the output channel mask + * @channel_mask: (out): the output channel mask * * Convert the @position array of @channels channels to a bitmask. * diff --git a/gst-libs/gst/pbutils/encoding-profile.c b/gst-libs/gst/pbutils/encoding-profile.c index 0058c8638..b12430c44 100644 --- a/gst-libs/gst/pbutils/encoding-profile.c +++ b/gst-libs/gst/pbutils/encoding-profile.c @@ -1394,7 +1394,7 @@ parse_encoding_profile (const gchar * value) presence = g_ascii_strtoll (strpresence_v[1], &endptr, 10); if (endptr == strpresence_v[1]) { - g_printerr ("Wrong presence %s\n", strpresence_v[1]); + GST_ERROR ("Wrong presence %s\n", strpresence_v[1]); return NULL; }