In gst_audio_check_valid_channel_positions the mask
is an out parameter.
And minor conversion from a print to a GST_ERROR.
* @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.
*
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;
}