X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ftranscode_job.h;h=7880a925ebb56e4921fea0b2745ab1b3f1882788;hb=f861018389acd9d277fe34d7621182b9b54f977f;hp=8f78e7f6a899b8d3e5dda3f11da4adce2a1fdfcc;hpb=420adb1fd2910fd24eb84be98169afc209f76a0e;p=dcpomatic.git diff --git a/src/lib/transcode_job.h b/src/lib/transcode_job.h index 8f78e7f6a..7880a925e 100644 --- a/src/lib/transcode_job.h +++ b/src/lib/transcode_job.h @@ -23,9 +23,8 @@ #include #include "job.h" -#include "options.h" -class Encoder; +class Transcoder; /** @class TranscodeJob * @brief A job which transcodes from one format to another. @@ -33,16 +32,14 @@ class Encoder; class TranscodeJob : public Job { public: - TranscodeJob (boost::shared_ptr f, DecodeOptions od, boost::shared_ptr req); + TranscodeJob (boost::shared_ptr f); std::string name () const; void run (); std::string status () const; -protected: +private: int remaining_time () const; -private: - DecodeOptions _decode_opt; - boost::shared_ptr _encoder; + boost::shared_ptr _transcoder; };