return false;
}
+ if (audio && audio->stream()) {
+ auto const channels = audio->stream()->channels();
+ if (channels != film->audio_channels()) {
+ why_not = String::compose(_("it has a different number of audio channels than the project; set the project to have %1 channels."), channels);
+ return false;
+ }
+ }
+
auto part = [](shared_ptr<const Content> c) {
return static_cast<bool>(c->audio) && !c->audio->mapping().mapped_output_channels().empty();
};