X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ftranscode_job.h;h=6e3c1ead9314cc5af7bb2877f208c38ae4358fa3;hb=b5b20f829ed95febe7aba55ebe3679c998b35b5e;hp=9b69e4e6563ac39f7260f6821afd2cad881c181b;hpb=38ab054c2ec22a853ee6abbe3f3683d153e9bb63;p=dcpomatic.git diff --git a/src/lib/transcode_job.h b/src/lib/transcode_job.h index 9b69e4e65..6e3c1ead9 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,15 @@ class Encoder; class TranscodeJob : public Job { public: - TranscodeJob (boost::shared_ptr f, DecodeOptions od); + TranscodeJob (boost::shared_ptr f); std::string name () const; + std::string json_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; };