Various fixes to seek since changing fill code.
[dcpomatic.git] / src / lib / video_decoder.h
index 9e56546df952e5a659904b5be064f259c4b62fa8..24ee7f4e5f1948bcbf6dd897fbb324570bd62199 100644 (file)
@@ -60,13 +60,15 @@ protected:
        void seek (ContentTime time, bool accurate);
        void video (boost::shared_ptr<const ImageProxy>, VideoFrame frame);
        std::list<ContentVideo> decoded_video (VideoFrame frame);
-       void fill_up_to_2d (VideoFrame);
-       void fill_up_to_3d (VideoFrame, Eyes);
+       void fill_2d (VideoFrame from, VideoFrame to);
+       void fill_3d (VideoFrame from, VideoFrame to, Eyes);
 
        boost::shared_ptr<const VideoContent> _video_content;
        std::list<ContentVideo> _decoded_video;
        bool _same;
        boost::shared_ptr<Image> _black_image;
+       boost::optional<ContentTime> _last_seek_time;
+       bool _last_seek_accurate;
 };
 
 #endif