diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-11-28 10:39:03 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-11-28 21:13:15 +0100 |
| commit | 94ab538738526948c5a52ed1222be1e484255541 (patch) | |
| tree | f14be732d23dfac5ee41149eaee2db43b1710d32 /src/tools/dcpomatic_batch.cc | |
| parent | d41a59b6ef7a8c935f182d498ae4df0bdd66ba02 (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_batch.cc')
| -rw-r--r-- | src/tools/dcpomatic_batch.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/dcpomatic_batch.cc b/src/tools/dcpomatic_batch.cc index 061470602..29f79ff08 100644 --- a/src/tools/dcpomatic_batch.cc +++ b/src/tools/dcpomatic_batch.cc @@ -211,7 +211,7 @@ public: } } - film->make_dcp (); + film->make_dcp (TranscodeJob::ChangedBehaviour::STOP); } catch (std::exception& e) { auto p = std_to_wx (path.string ()); auto b = p.ToUTF8 (); @@ -450,7 +450,7 @@ class App : public wxApp try { film = make_shared<Film>(i); film->read_metadata (); - film->make_dcp (); + film->make_dcp (TranscodeJob::ChangedBehaviour::EXAMINE_THEN_STOP); } catch (exception& e) { error_dialog ( 0, |
