summaryrefslogtreecommitdiff
path: root/src/tools/dcpomatic_cli.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-11-28 10:39:03 +0100
committerCarl Hetherington <cth@carlh.net>2021-11-28 21:08:08 +0100
commita2e41d9a95b6e0000f3a54f513214130f8b6ca9f (patch)
tree8387b4fe016bbd7fad09526a872ae5ef295f4d5a /src/tools/dcpomatic_cli.cc
parent4ee083dc0862b30325c709e913772a6898378d0e (diff)
Rearrange checking (and re-examining) content.
Most importantly, checking of content for changes before making a DCP is now done in the TranscodeJob (rather than being in a separate job). This makes things a little neater and also makes the batch converter less confusing when you add a job whose content has changed.
Diffstat (limited to 'src/tools/dcpomatic_cli.cc')
-rw-r--r--src/tools/dcpomatic_cli.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/dcpomatic_cli.cc b/src/tools/dcpomatic_cli.cc
index 75f57fa89..95f2f4039 100644
--- a/src/tools/dcpomatic_cli.cc
+++ b/src/tools/dcpomatic_cli.cc
@@ -355,7 +355,7 @@ main (int argc, char* argv[])
cout << "\nMaking DCP for " << film->name() << "\n";
}
- film->make_dcp (false, check);
+ film->make_dcp (check ? TranscodeJob::ChangedBehaviour::STOP : TranscodeJob::ChangedBehaviour::IGNORE);
bool const error = show_jobs_on_console (progress);
if (keep_going) {