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.
This commit is contained in:
Thibault Saunier 2016-12-15 10:57:14 -03:00
parent 1c7c51fa23
commit 8bbf67c37d
2 changed files with 2 additions and 2 deletions

View file

@ -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.
*

View file

@ -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;
}