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.
2018-03-24 Carl Hetherington <cth@carlh.net>
+ * Fix crash when changing DCP audio channel count (#1253).
+
* Fix update checker error when there is no test
version.
if (_film->audio_processor ()) {
_audio_processor = _film->audio_processor()->clone (_film->audio_frame_rate ());
}
+ } else if (p == Film::AUDIO_CHANNELS) {
+ _audio_merger.clear ();
}
}