Protect cross-thread access to _pending_images.
[dcpomatic.git] / src / lib / video_decoder.h
index c2ba8386ebfa7475a8a7e9aec757e232da60bb6e..76a91c5255bac1c26c4aa5d25ad3f6daa61f2ddb 100644 (file)
@@ -62,9 +62,10 @@ public:
        boost::signals2::signal<void (ContentVideo)> Data;
 
 private:
-       /** Time of last thing to be emitted */
        boost::shared_ptr<const Content> _content;
-       boost::optional<Frame> _last_emitted;
+       /** Frame of last thing to be emitted */
+       boost::optional<Frame> _last_emitted_frame;
+       boost::optional<Eyes> _last_emitted_eyes;
        dcpomatic::ContentTime _position;
 };