diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-05-09 14:04:46 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-05-09 14:04:46 +0100 |
| commit | bb6b53bdb63754fe0cea1368f69f39a3c3cbbdfd (patch) | |
| tree | 1fa27846ece11d0f30b124b22d3d514333a80563 /src/lib/transcode_job.h | |
| parent | 9fa69f9a195c102fb32f285527e8171378c9b6c0 (diff) | |
Make TranscoderJob able to take any sort of transcoder.
Diffstat (limited to 'src/lib/transcode_job.h')
| -rw-r--r-- | src/lib/transcode_job.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/transcode_job.h b/src/lib/transcode_job.h index 9e827e412..ae1a75804 100644 --- a/src/lib/transcode_job.h +++ b/src/lib/transcode_job.h @@ -25,7 +25,7 @@ #include "job.h" #include <boost/shared_ptr.hpp> -class DCPTranscoder; +class Transcoder; /** @class TranscodeJob * @brief A job which transcodes from one format to another. @@ -40,8 +40,10 @@ public: void run (); std::string status () const; + void set_transcoder (boost::shared_ptr<Transcoder> t); + private: int remaining_time () const; - boost::shared_ptr<DCPTranscoder> _transcoder; + boost::shared_ptr<Transcoder> _transcoder; }; |
