X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ftranscode_job.h;h=8240977b9e1de83be715db8e339c9ff0fcbf5058;hb=895b386b6751afd3d068155f4ea71e762297672a;hp=ae1a758048b4555ee42ce8468761595c018757d0;hpb=bb6b53bdb63754fe0cea1368f69f39a3c3cbbdfd;p=dcpomatic.git diff --git a/src/lib/transcode_job.h b/src/lib/transcode_job.h index ae1a75804..8240977b9 100644 --- a/src/lib/transcode_job.h +++ b/src/lib/transcode_job.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2015 Carl Hetherington + Copyright (C) 2012-2019 Carl Hetherington This file is part of DCP-o-matic. @@ -25,25 +25,26 @@ #include "job.h" #include -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 { public: - TranscodeJob (boost::shared_ptr film); + explicit TranscodeJob (boost::shared_ptr film); + ~TranscodeJob (); std::string name () const; std::string json_name () const; void run (); std::string status () const; - void set_transcoder (boost::shared_ptr t); + void set_encoder (boost::shared_ptr t); private: int remaining_time () const; - boost::shared_ptr _transcoder; + boost::shared_ptr _encoder; };