summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-10-20 03:47:06 +0100
committerCarl Hetherington <cth@carlh.net>2012-10-20 03:47:06 +0100
commita6976df179011056027a99ae210fb28117c36840 (patch)
tree2ffa1fe1d14793878e65e6bb8a6006dc5fdb2fce /src
parent521bb8570ae37e3710cf0d9cdb78e19bf1ed9463 (diff)
Remove unused variable.
Diffstat (limited to 'src')
-rw-r--r--src/lib/film.cc3
-rw-r--r--src/lib/film.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc
index 4ceef17ea..1f511add7 100644
--- a/src/lib/film.cc
+++ b/src/lib/film.cc
@@ -185,7 +185,7 @@ Film::j2k_dir () const
* @param true to transcode, false to use the WAV and J2K files that are already there.
*/
void
-Film::make_dcp (bool transcode, int freq)
+Film::make_dcp (bool transcode)
{
if (dcp_name().find ("/") != string::npos) {
throw BadSettingError ("name", "cannot contain slashes");
@@ -233,7 +233,6 @@ Film::make_dcp (bool transcode, int freq)
}
}
- o->decode_video_frequency = freq;
o->padding = format()->dcp_padding (this);
o->ratio = format()->ratio_as_float (this);
o->decode_subtitles = with_subtitles ();
diff --git a/src/lib/film.h b/src/lib/film.h
index e96c60308..d5c7420f8 100644
--- a/src/lib/film.h
+++ b/src/lib/film.h
@@ -68,7 +68,7 @@ public:
void send_dcp_to_tms ();
void copy_from_dvd ();
- void make_dcp (bool, int freq = 0);
+ void make_dcp (bool);
/** @return Logger.
* It is safe to call this from any thread.