Tidy up test film naming.
[dcpomatic.git] / src / lib / ab_transcode_job.cc
index fd8236bf028ec54a2fb10d565bc6e9be433fb2f3..cffb2cef178d3472a36eec66f34798bdb5388e8a 100644 (file)
@@ -36,17 +36,18 @@ using namespace boost;
  *  @Param l A log that we can write to.
  */
 ABTranscodeJob::ABTranscodeJob (shared_ptr<const FilmState> s, shared_ptr<const Options> o, Log* l, shared_ptr<Job> req)
-       : Job (s, o, l, req)
+       : Job (s, l, req)
+       , _opt (o)
 {
        _fs_b.reset (new FilmState (*_fs));
-       _fs_b->scaler = Config::instance()->reference_scaler ();
-       _fs_b->filters = Config::instance()->reference_filters ();
+       _fs_b->set_scaler (Config::instance()->reference_scaler ());
+       _fs_b->set_filters (Config::instance()->reference_filters ());
 }
 
 string
 ABTranscodeJob::name () const
 {
-       return String::compose ("A/B transcode %1", _fs->name);
+       return String::compose ("A/B transcode %1", _fs->name());
 }
 
 void