Copy DCP name layout fix from master.
[dcpomatic.git] / src / lib / image_decoder.h
index c7500243e08091ec3d6669f3c14273dfb93454e4..ec90051daf8e43c45a565d69d9ad43f212636c52 100644 (file)
@@ -28,20 +28,18 @@ class ImageContent;
 class ImageDecoder : public VideoDecoder
 {
 public:
-       ImageDecoder (boost::shared_ptr<const Film>, boost::shared_ptr<const ImageContent>);
+       ImageDecoder (boost::shared_ptr<const ImageContent> c);
 
        boost::shared_ptr<const ImageContent> content () {
                return _image_content;
        }
 
-       /* Decoder */
-
-       void pass ();
-       void seek (VideoContent::Frame, bool);
-       bool done () const;
-
 private:
+       bool pass (PassReason);
+       void seek (ContentTime, bool);
+       
        boost::shared_ptr<const ImageContent> _image_content;
-       boost::shared_ptr<Image> _image;
+       boost::shared_ptr<ImageProxy> _image;
+       VideoFrame _video_position;
 };