Barely-functioning GL playback with new arrangement.
[dcpomatic.git] / src / lib / transcode_job.h
index 5419a46f3342985d2cbe91359f5957847473aa49..8240977b9e1de83be715db8e339c9ff0fcbf5058 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2012-2015 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2012-2019 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
 #include "job.h"
 #include <boost/shared_ptr.hpp>
 
-class Transcoder;
+class Encoder;
 
 /** @class TranscodeJob
- *  @brief A job which transcodes from one format to another.
+ *  @brief A job which transcodes a Film to another format.
  */
 class TranscodeJob : public Job
 {
 public:
-       TranscodeJob (boost::shared_ptr<const Film>);
+       explicit TranscodeJob (boost::shared_ptr<const Film> film);
+       ~TranscodeJob ();
 
        std::string name () const;
        std::string json_name () const;
        void run ();
        std::string status () const;
 
+       void set_encoder (boost::shared_ptr<Encoder> t);
+
 private:
        int remaining_time () const;
 
-       boost::shared_ptr<Transcoder> _transcoder;
+       boost::shared_ptr<Encoder> _encoder;
 };