Cope with e.g. truehd audio streams having not every audio frame arriving with a...
[dcpomatic.git] / src / lib / transcode_job.h
index 14ad693c370975a2ca0b0523eb948882240d600a..47611525a30fdc4c536ab827282f9e47892afcba 100644 (file)
 #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
 {
@@ -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<Transcoder> _transcoder;
+       boost::shared_ptr<Encoder> _encoder;
 };