Fix crash when changing DCP audio channel count.
authorCarl Hetherington <cth@carlh.net>
Sat, 24 Mar 2018 23:55:56 +0000 (23:55 +0000)
committerCarl Hetherington <cth@carlh.net>
Sat, 24 Mar 2018 23:57:22 +0000 (23:57 +0000)
commit800c0b9f95f422af66b6166fb4d13c1b89d04844
treee9fe0b47ed8a73679540a1e7d82abec68d732eb2
parent3d15e81de19a57eb8c6a308e00ea07c542068b58
Fix crash when changing DCP audio channel count.

Without this we ask the AudioMerger to merge new buffers with N
channels with old buffers with M channels, which it can't do.

I'm not convinced this is the best solution but I think it will do
for now.
ChangeLog
src/lib/player.cc