audio-info: For more than 64 channels don't allow a channel layout
More than 64 channels have all channels unpositioned. https://bugzilla.gnome.org/show_bug.cgi?id=700259
This commit is contained in:
parent
d8a3895ac9
commit
b401f447d2
@ -119,6 +119,7 @@ gst_audio_info_set_format (GstAudioInfo * info, GstAudioFormat format,
|
||||
|
||||
g_return_if_fail (info != NULL);
|
||||
g_return_if_fail (format != GST_AUDIO_FORMAT_UNKNOWN);
|
||||
g_return_if_fail (channels <= 64 || position == NULL);
|
||||
|
||||
finfo = gst_audio_format_get_info (format);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user