- boost::shared_ptr<Job> _job;
-
- /** Mutex for _time_history and _last_frame */
- mutable boost::mutex _state_mutex;
- /** List of the times of completion of the last _history_size frames;
- first is the most recently completed.
- */
- std::list<struct timeval> _time_history;
- /** Number of frames that we should keep history for */
- static int const _history_size;
-
- /** Number of video frames written for the DCP so far */
- int _video_frames_out;
-
- bool _have_a_real_frame[EYES_COUNT];
- bool _terminate;
- std::list<boost::shared_ptr<DCPVideoFrame> > _queue;
- typedef std::list<std::pair<boost::optional<ServerDescription>, boost::thread *> > ThreadList;
- ThreadList _threads;
- mutable boost::mutex _mutex;
- boost::condition _condition;
-
- boost::shared_ptr<Writer> _writer;
-
- /** A thread to periodically issue broadcasts to find encoding servers */
- boost::thread* _broadcast_thread;
- boost::thread* _listen_thread;