Couple of missing formats from Image::components().
[dcpomatic.git] / src / lib / imagemagick_decoder.h
index 84a6f15f9aa8b63d762ada2deb5ac94ccd756646..80a08f81f8374a3126a425ee413d0c0eedf21e29 100644 (file)
@@ -26,12 +26,9 @@ namespace Magick {
 class ImageMagickDecoder : public VideoDecoder
 {
 public:
-       ImageMagickDecoder (boost::shared_ptr<Film>, DecodeOptions, Job *);
+       ImageMagickDecoder (boost::shared_ptr<Film>, DecodeOptions);
 
-       float frames_per_second () const {
-               /* We don't know */
-               return 0;
-       }
+       float frames_per_second () const;
 
        libdcp::Size native_size () const;
 
@@ -52,10 +49,6 @@ public:
                return 0;
        }
 
-       bool has_subtitles () const {
-               return false;
-       }
-
        bool seek (double);
        bool seek_to_last ();
 
@@ -86,4 +79,6 @@ private:
        
        std::list<std::string> _files;
        std::list<std::string>::iterator _iter;
+
+       boost::shared_ptr<Image> _image;
 };