#include <stdint.h>
class Film;
-class ServerDescription;
+class EncodeServerDescription;
class DCPVideo;
class Writer;
class Job;
class Encoder : public boost::noncopyable, public ExceptionStore
{
public:
- Encoder (boost::shared_ptr<const Film>, boost::weak_ptr<Job>, boost::shared_ptr<Writer>);
+ Encoder (boost::shared_ptr<const Film>, boost::shared_ptr<Writer>);
virtual ~Encoder ();
/** Called to indicate that a processing run is about to begin */
void enqueue (boost::shared_ptr<PlayerVideo> f);
void frame_done ();
- void encoder_thread (boost::optional<ServerDescription>);
+ void encoder_thread (boost::optional<EncodeServerDescription>);
void terminate_threads ();
void servers_list_changed ();
/** Film that we are encoding */
boost::shared_ptr<const Film> _film;
- boost::weak_ptr<Job> _job;
/** Mutex for _time_history and _video_frames_enqueued */
mutable boost::mutex _state_mutex;