Trying to create export audio encoders with between 9 and 15 channels fix-1786-7ch-export-crash
authorCarl Hetherington <cth@carlh.net>
Mon, 27 Jul 2020 21:52:08 +0000 (23:52 +0200)
committerCarl Hetherington <cth@carlh.net>
Mon, 27 Jul 2020 22:31:28 +0000 (00:31 +0200)
commit682455d786d4e9b4a03865a5b9f0694184b60af3
tree6d95e81ab690f24fc26907eb44b7906098dce966
parenteb67d40b6a83415db9b742b18055d0702abc1647
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