Fix assertion failure when processors return fewer channels than the DCP has.
[dcpomatic.git] / src / lib / player.cc
index 302ab161c1128f160c520997e3d8d344dbb6efec..acf977def557f4b9873a0117d9b92d88f889138f 100644 (file)
@@ -508,7 +508,7 @@ Player::get_audio (DCPTime time, DCPTime length, bool accurate)
                        }
 
                        if (_audio_processor) {
-                               dcp_mapped = _audio_processor->run (dcp_mapped);
+                               dcp_mapped = _audio_processor->run (dcp_mapped, _film->audio_channels ());
                        }
 
                        all.audio = dcp_mapped;