Remove unused variable.
authorCarl Hetherington <cth@carlh.net>
Sat, 20 Oct 2012 02:47:06 +0000 (03:47 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 20 Oct 2012 02:47:06 +0000 (03:47 +0100)
src/lib/film.cc
src/lib/film.h

index 4ceef17ea43de55d6c83109bbbca7a7d2be6433a..1f511add76a3875396a68fb57205a7e10c9d4c7a 100644 (file)
@@ -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 ();
index e96c60308c01a13c61b0ee1d40d6be88c7d32ecd..d5c7420f866b2f6b47ebd6dc31da47a125838415 100644 (file)
@@ -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.