Cope with e.g. truehd audio streams having not every audio frame arriving with a...
[dcpomatic.git] / src / lib / transcode_job.h
index 9e827e41259d1b0981a17edc2fa9488758577e0a..47611525a30fdc4c536ab827282f9e47892afcba 100644 (file)
 #include "job.h"
 #include <boost/shared_ptr.hpp>
 
-class DCPTranscoder;
+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
 {
@@ -40,8 +40,10 @@ public:
        void run ();
        std::string status () const;
 
+       void set_encoder (boost::shared_ptr<Encoder> t);
+
 private:
        int remaining_time () const;
 
-       boost::shared_ptr<DCPTranscoder> _transcoder;
+       boost::shared_ptr<Encoder> _encoder;
 };