projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix erroneous disabling of Make DCP option after creating one (#230).
[dcpomatic.git]
/
src
/
lib
/
transcode_job.h
diff --git
a/src/lib/transcode_job.h
b/src/lib/transcode_job.h
index 97f655e15c212e78aba5ad9f6564dbfc84f9f7e9..9128206d29dc9c9e42460cafecfa4748f0a1c0db 100644
(file)
--- a/
src/lib/transcode_job.h
+++ b/
src/lib/transcode_job.h
@@
-24,9
+24,7
@@
#include <boost/shared_ptr.hpp>
#include "job.h"
#include <boost/shared_ptr.hpp>
#include "job.h"
-class Encoder;
-class DecodeOptions;
-class EncodeOptions;
+class Transcoder;
/** @class TranscodeJob
* @brief A job which transcodes from one format to another.
/** @class TranscodeJob
* @brief A job which transcodes from one format to another.
@@
-34,17
+32,14
@@
class EncodeOptions;
class TranscodeJob : public Job
{
public:
class TranscodeJob : public Job
{
public:
- TranscodeJob (boost::shared_ptr<
Film> f, boost::shared_ptr<const DecodeOptions> od, boost::shared_ptr<const EncodeOptions> oe, boost::shared_ptr<Job> req
);
+ TranscodeJob (boost::shared_ptr<
const Film> f
);
std::string name () const;
void run ();
std::string status () const;
std::string name () const;
void run ();
std::string status () const;
-pr
otected
:
+pr
ivate
:
int remaining_time () const;
int remaining_time () const;
-private:
- boost::shared_ptr<const DecodeOptions> _decode_opt;
- boost::shared_ptr<const EncodeOptions> _encode_opt;
- boost::shared_ptr<Encoder> _encoder;
+ boost::shared_ptr<Transcoder> _transcoder;
};
};