ext/vorbis/: Add sane defaults for the 7 and 8 channel layouts as those are undefined...
authorSebastian Dröge <slomo@circular-chaos.org>
Thu, 29 May 2008 07:02:50 +0000 (07:02 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Thu, 29 May 2008 07:02:50 +0000 (07:02 +0000)
commit31b677599aec996f0b2155e282389500510ac6a5
treea06f7701fd680aba7b51ac607884d77a8289d5d9
parent1a3053b241a64dff2378782c7aa5ffbdc69e53e5
ext/vorbis/: Add sane defaults for the 7 and 8 channel layouts as those are undefined in the Vorbis spec. Use NONE ch...

Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_handle_identification_packet):
* ext/vorbis/vorbisenc.c: (gst_vorbis_enc_generate_sink_caps):
Add sane defaults for the 7 and 8 channel layouts as those are
undefined in the Vorbis spec. Use NONE channel layouts when decoding
more than 8 channels instead of erroring out. Fixes bug #535356.
ChangeLog
ext/vorbis/vorbisdec.c
ext/vorbis/vorbisenc.c