From: Carl Hetherington Date: Wed, 29 Nov 2023 01:26:07 +0000 (+0100) Subject: Don't reduce the audio channel count on adding ATMOS (only increase it, if required). X-Git-Tag: v2.16.70~4 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=9565b6e99b7a2db09098437a3bb958acb937b17a Don't reduce the audio channel count on adding ATMOS (only increase it, if required). --- diff --git a/src/lib/film.cc b/src/lib/film.cc index 7ba245422..a5b393cc1 100644 --- a/src/lib/film.cc +++ b/src/lib/film.cc @@ -1400,7 +1400,9 @@ Film::add_content (shared_ptr c) maybe_set_container_and_resolution (); if (c->atmos) { - set_audio_channels (14); + if (_audio_channels < 14) { + set_audio_channels(14); + } set_interop (false); } }