Trying to create export audio encoders with between 9 and 15 channels v2.14.34
authorCarl Hetherington <cth@carlh.net>
Mon, 27 Jul 2020 22:28:51 +0000 (22:28 +0000)
committerCarl Hetherington <cth@carlh.net>
Mon, 27 Jul 2020 22:28:51 +0000 (22:28 +0000)
commit525d5c76b24119125572805ef041b1b226233069
treebc37fee5f3df081425ddfd2ce1e6d10093fbdee7
parente5c629b805bcf3d819c9b15d32bb8a3a9f93ab41
Trying to create export audio encoders with between 9 and 15 channels
inclusive fails, at least for AAC.  There's probably a way around
this with some FFmpeg-cleverness but for now let's just export any
project with more than 8 channels as 16.

You could argue that we should offer choices to, for example
export 7.1/HI/VN as 7.1 but that sounds fiddly.

Fixes #1786.
src/lib/ffmpeg_encoder.cc