projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix thinko when trying to keep channel counts even.
[dcpomatic.git]
/
src
/
lib
/
create_cli.cc
diff --git
a/src/lib/create_cli.cc
b/src/lib/create_cli.cc
index 58aa1b01badeb91e0cf964d3585ab6d5ea0eec6a..6752be4094125f3d26dd7629f246b4215cec118b 100644
(file)
--- a/
src/lib/create_cli.cc
+++ b/
src/lib/create_cli.cc
@@
-381,7
+381,7
@@
CreateCLI::make_film() const
channels = std::max(channels, static_cast<int>(*cli_content.channel) + 1);
}
}
- if (channels %
1
) {
+ if (channels %
2
) {
++channels;
}