X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ftranscode_job.h;h=97a7d49f2c8efb4082513256ceb7cb84f401de96;hb=e894cfe3d891135d1b92b62603a464e42bd6ed5c;hp=1decea070001717cde392f12eeba1310da99b860;hpb=bd8fa9a370f1739952c83107352baa08c79d095e;p=dcpomatic.git diff --git a/src/lib/transcode_job.h b/src/lib/transcode_job.h index 1decea070..97a7d49f2 100644 --- a/src/lib/transcode_job.h +++ b/src/lib/transcode_job.h @@ -21,10 +21,10 @@ * @brief A job which transcodes from one format to another. */ -#include #include "job.h" +#include -class Encoder; +class Transcoder; /** @class TranscodeJob * @brief A job which transcodes from one format to another. @@ -32,16 +32,14 @@ class Encoder; class TranscodeJob : public Job { public: - TranscodeJob (boost::shared_ptr f, boost::shared_ptr o, 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: - boost::shared_ptr _opt; - boost::shared_ptr _encoder; + boost::shared_ptr _transcoder; };