Fix colour conversion choice on GTK3.
[dcpomatic.git] / src / lib / image_decoder.h
index d023636bfe433138db3be83162936a0cd2a1b41d..9f1484e47a33c8fe83a9a1b004592f5dd7057ab8 100644 (file)
@@ -27,16 +27,17 @@ 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;
        }
 
-private:
-       bool pass (Decoder::PassReason, bool);
+       bool pass ();
        void seek (ContentTime, bool);
 
+private:
+
        boost::shared_ptr<const ImageContent> _image_content;
        boost::shared_ptr<ImageProxy> _image;
        Frame _frame_video_position;