Pass options only to jobs that need them.
[dcpomatic.git] / src / lib / transcode_job.cc
index 3776ea4c1d6404e11f5842daaea9baffc41f10ff..fe34867b250123a8722f5fe83c15ac74f403c2ab 100644 (file)
@@ -40,7 +40,8 @@ using namespace boost;
  *  @param l A log that we can write to.
  */
 TranscodeJob::TranscodeJob (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)
 {
        
 }