-
- /** Number of video frames written for the DCP so far */
- int _video_frames_out;
- State _state;
-
- bool _have_a_real_frame[EYES_COUNT];
- bool _terminate;
- std::list<boost::shared_ptr<DCPVideoFrame> > _queue;
+ /** Number of video frames enqueued so far */
+ int _video_frames_enqueued;
+ bool _left_done;
+ bool _right_done;
+
+ /* XXX: probably should be atomic */
+ bool _terminate_enqueue;
+ bool _terminate_encoding;
+ /** Mutex for _threads */
+ mutable boost::mutex _threads_mutex;