mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 02:00:33 +00:00
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:
parent
1c7c51fa23
commit
8bbf67c37d
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue