Rename TYPE_DEBUG_PLAYER to TYPE_DEBUG_VIDEO_VIEW.
[dcpomatic.git] / src / lib / image_decoder.h
index 9b8cf73bbba6461a5da786d312338b35c25144de..eeec779ba8849129d7b73d2c68d9622e4bcafc42 100644 (file)
@@ -27,17 +27,18 @@ class ImageProxy;
 class ImageDecoder : public Decoder
 {
 public:
-       ImageDecoder (boost::shared_ptr<const ImageContent> c, boost::shared_ptr<Log> log);
+       ImageDecoder (boost::shared_ptr<const Film> film, boost::shared_ptr<const ImageContent> c);
 
        boost::shared_ptr<const ImageContent> content () {
                return _image_content;
        }
 
+       bool pass ();
+       void seek (dcpomatic::ContentTime, bool);
+
 private:
-       bool pass (Decoder::PassReason, bool);
-       void seek (ContentTime, bool);
 
        boost::shared_ptr<const ImageContent> _image_content;
        boost::shared_ptr<ImageProxy> _image;
-       Frame _video_position;
+       Frame _frame_video_position;
 };