summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-04-30 09:41:04 +0000
committerCarl Hetherington <cth@carlh.net>2019-04-30 09:41:04 +0000
commitd6e7451225ededfc352b3e17b50f91afccca03a3 (patch)
tree67a0fa6ccd166eac323d4b395217217b8a4b5f79 /src/tools
parent5bb7cf0132f37e2eea67c72f61d1f2b23b440596 (diff)
Add --j2k-bandwidth to dcpomatic_create.v2.13.158
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/dcpomatic_create.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/dcpomatic_create.cc b/src/tools/dcpomatic_create.cc
index 6d36735e1..40d764c2b 100644
--- a/src/tools/dcpomatic_create.cc
+++ b/src/tools/dcpomatic_create.cc
@@ -101,6 +101,9 @@ main (int argc, char* argv[])
film->set_encrypted (cc.encrypt);
film->set_three_d (cc.threed);
film->set_resolution (cc.fourk ? RESOLUTION_4K : RESOLUTION_2K);
+ if (cc.j2k_bandwidth) {
+ film->set_j2k_bandwidth (*cc.j2k_bandwidth);
+ }
BOOST_FOREACH (CreateCLI::Content i, cc.content) {
boost::filesystem::path const can = boost::filesystem::canonical (i.path);