diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-11-29 02:26:07 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-11-29 22:50:56 +0100 |
| commit | 9565b6e99b7a2db09098437a3bb958acb937b17a (patch) | |
| tree | cfe5ef753f4b9188fc29b9edbade831412aa64e2 | |
| parent | 3160c7051b0edb06acc9333016bbf8ade4a467e1 (diff) | |
Don't reduce the audio channel count on adding ATMOS (only increase it, if required).
| -rw-r--r-- | src/lib/film.cc | 4 |
1 files changed, 3 insertions, 1 deletions
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<Content> c) maybe_set_container_and_resolution (); if (c->atmos) { - set_audio_channels (14); + if (_audio_channels < 14) { + set_audio_channels(14); + } set_interop (false); } } |
