void begin ();
/** Called to pass a bit of video to be encoded as the next DCP frame */
- void encode (boost::shared_ptr<PlayerVideo> pv, DCPTime time);
+ void encode (boost::shared_ptr<PlayerVideo> pv, dcpomatic::DCPTime time);
/** Called when a processing run has finished */
void end ();
- float current_encoding_rate () const;
+ boost::optional<float> current_encoding_rate () const;
int video_frames_enqueued () const;
void servers_list_changed ();
/** Mutex for _threads */
mutable boost::mutex _threads_mutex;
- std::list<boost::thread *> _threads;
+ std::list<boost::thread*> _threads;
mutable boost::mutex _queue_mutex;
std::list<boost::shared_ptr<DCPVideo> > _queue;
/** condition to manage thread wakeups when we have nothing to do */
boost::shared_ptr<Writer> _writer;
Waker _waker;
- boost::shared_ptr<PlayerVideo> _last_player_video;
- boost::optional<DCPTime> _last_player_video_time;
+ boost::shared_ptr<PlayerVideo> _last_player_video[EYES_COUNT];
+ boost::optional<dcpomatic::DCPTime> _last_player_video_time;
boost::signals2::scoped_connection _server_found_connection;
};