X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ftranscode_job.h;h=23a856069d15b6529be66aa6cfebd4f3355c8bfc;hb=765f90586c498860aa687e2b0cd6cedf1e0b1bf0;hp=8f78e7f6a899b8d3e5dda3f11da4adce2a1fdfcc;hpb=9db7ed5f6499de903313a85d59bb70302e97e7ff;p=dcpomatic.git diff --git a/src/lib/transcode_job.h b/src/lib/transcode_job.h index 8f78e7f6a..23a856069 100644 --- a/src/lib/transcode_job.h +++ b/src/lib/transcode_job.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012 Carl Hetherington + Copyright (C) 2012-2015 Carl Hetherington This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -21,11 +21,10 @@ * @brief A job which transcodes from one format to another. */ -#include #include "job.h" -#include "options.h" +#include -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, boost::shared_ptr req); - + TranscodeJob (boost::shared_ptr); + 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; };