Logging improvements to allow prettier displays in the server GUI.
[dcpomatic.git] / src / lib / image_decoder.h
index 63b4c58e344f42ece958d7a58e75441d00da216c..4d96306a89c63775121f4e243da36ce2aa507372 100644 (file)
 
 #include "video_decoder.h"
 
-namespace Magick {
-       class Image;
-}
-
 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;
        }
 
-       void seek (ContentTime, bool);
-
 private:
        bool pass ();
-       
+       void seek (ContentTime, bool);
+
        boost::shared_ptr<const ImageContent> _image_content;
-       boost::shared_ptr<Image> _image;
-       VideoFrame _video_position;
+       boost::shared_ptr<ImageProxy> _image;
+       Frame _video_position;
 };