summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-02-17 21:19:20 +0000
committerCarl Hetherington <cth@carlh.net>2013-02-17 21:19:20 +0000
commit68f6efd164b0db1588513a8b8d3402eedb7bb86b (patch)
treea734fae84de7c90e02ed92f50d8d5a9a31b4a9e8 /src/lib
parentfb5ec7f03c1dd93211125681bcb13c1a2526faf6 (diff)
Remove some vestigial stuff.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/film.cc16
-rw-r--r--src/lib/film.h2
2 files changed, 7 insertions, 11 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc
index 289a8c348..1cf161259 100644
--- a/src/lib/film.cc
+++ b/src/lib/film.cc
@@ -237,11 +237,9 @@ Film::video_mxf_filename () const
return video_state_identifier() + ".mxf";
}
-/** Add suitable Jobs to the JobManager to create a DCP for this Film.
- * @param true to transcode, false to use the WAV and J2K files that are already there.
- */
+/** Add suitable Jobs to the JobManager to create a DCP for this Film */
void
-Film::make_dcp (bool transcode)
+Film::make_dcp ()
{
set_dci_date_today ();
@@ -298,12 +296,10 @@ Film::make_dcp (bool transcode)
shared_ptr<Job> r;
- if (transcode) {
- if (dcp_ab()) {
- r = JobManager::instance()->add (shared_ptr<Job> (new ABTranscodeJob (shared_from_this(), od)));
- } else {
- r = JobManager::instance()->add (shared_ptr<Job> (new TranscodeJob (shared_from_this(), od)));
- }
+ if (dcp_ab()) {
+ r = JobManager::instance()->add (shared_ptr<Job> (new ABTranscodeJob (shared_from_this(), od)));
+ } else {
+ r = JobManager::instance()->add (shared_ptr<Job> (new TranscodeJob (shared_from_this(), od)));
}
}
diff --git a/src/lib/film.h b/src/lib/film.h
index cc77460db..04a483998 100644
--- a/src/lib/film.h
+++ b/src/lib/film.h
@@ -69,7 +69,7 @@ public:
void examine_content ();
void send_dcp_to_tms ();
- void make_dcp (bool);
+ void make_dcp ();
/** @return Logger.
* It is safe to call this from any thread.