audio-channels: allow partially valid channel_mask
authorPeter G. Baum <peter@dr-baum.net>
Fri, 3 Oct 2014 10:54:17 +0000 (12:54 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 14 Oct 2014 08:29:56 +0000 (10:29 +0200)
commitc734fbc1393976665f9f4a92dcf22b60994c0280
tree65f7e6d3f70d1b626552e51446adfa82e978e4a3
parenta0b25a570aa470c520343fea4b70e5ac1cbc4519
audio-channels: allow partially valid channel_mask

Since WAVEFORMATEXTENSIBLE allows to have more channels than
bits in the channel mask we should allow this, too, to avoid
loss of information.

https://bugzilla.gnome.org/show_bug.cgi?id=733405
gst-libs/gst/audio/audio-channels.c