projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3160c70
)
Don't reduce the audio channel count on adding ATMOS (only increase it, if required).
author
Carl Hetherington
<cth@carlh.net>
Wed, 29 Nov 2023 01:26:07 +0000
(
02:26
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 29 Nov 2023 21:50:56 +0000
(22:50 +0100)
src/lib/film.cc
patch
|
blob
|
history
diff --git
a/src/lib/film.cc
b/src/lib/film.cc
index 7ba245422a94329c0e54788d075101db2687f86c..a5b393cc126a2a08cc58d7709b159f761fa8e8bc 100644
(file)
--- 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);
}
}