summaryrefslogtreecommitdiff
path: root/src/lib/film.h
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:13:15 +0100
commit94ab538738526948c5a52ed1222be1e484255541 (patch)
treef14be732d23dfac5ee41149eaee2db43b1710d32 /src/lib/film.h
parentd41a59b6ef7a8c935f182d498ae4df0bdd66ba02 (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/lib/film.h')
-rw-r--r--src/lib/film.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/film.h b/src/lib/film.h
index 5255e8355..78a66e17f 100644
--- a/src/lib/film.h
+++ b/src/lib/film.h
@@ -30,6 +30,7 @@
#include "dcp_text_track.h"
#include "frame_rate_change.h"
#include "signaller.h"
+#include "transcode_job.h"
#include "types.h"
#include "util.h"
#include <dcp/encrypted_kdm.h>
@@ -111,7 +112,7 @@ public:
boost::filesystem::path subtitle_analysis_path (std::shared_ptr<const Content>) const;
void send_dcp_to_tms ();
- void make_dcp (bool gui = false, bool check = true);
+ void make_dcp (TranscodeJob::ChangedBehaviour behaviour);
/** @return Logger.
* It is safe to call this from any thread.