Factor out checking of a single picture frame's hash.
[dcpomatic.git] / src / lib / image_decoder.h
index 242f69477826a499d915505cd0b9486808aba68d..e2de56acb9b1789f5e0e37a584dc30b88acc8625 100644 (file)
 
 #include "video_decoder.h"
 
-namespace Magick {
-       class Image;
-}
-
 class ImageContent;
 
 class ImageDecoder : public VideoDecoder
@@ -34,13 +30,11 @@ public:
                return _image_content;
        }
 
+private:
+       bool pass (PassReason, bool);
        void seek (ContentTime, bool);
 
-private:
-       bool pass ();
-       
        boost::shared_ptr<const ImageContent> _image_content;
        boost::shared_ptr<ImageProxy> _image;
-       VideoFrame _video_position;
+       Frame _video_position;
 };
-