Fix typo preventing audio sync fixes when audio follows video.
[dcpomatic.git] / src / lib / imagemagick_decoder.h
index de49c1b566b6ef0a36ae2bb44c0e05d77a65da6c..80a08f81f8374a3126a425ee413d0c0eedf21e29 100644 (file)
@@ -26,14 +26,11 @@ namespace Magick {
 class ImageMagickDecoder : public VideoDecoder
 {
 public:
-       ImageMagickDecoder (boost::shared_ptr<Film>, boost::shared_ptr<const Options>, Job *);
+       ImageMagickDecoder (boost::shared_ptr<Film>, DecodeOptions);
 
-       float frames_per_second () const {
-               /* We don't know */
-               return 0;
-       }
+       float frames_per_second () const;
 
-       Size native_size () const;
+       libdcp::Size native_size () const;
 
        SourceFrame length () const {
                /* We don't know */
@@ -52,9 +49,8 @@ public:
                return 0;
        }
 
-       bool has_subtitles () const {
-               return false;
-       }
+       bool seek (double);
+       bool seek_to_last ();
 
 protected:
        bool pass ();
@@ -79,6 +75,10 @@ protected:
        }
 
 private:
+       void film_changed (Film::Property);
+       
        std::list<std::string> _files;
        std::list<std::string>::iterator _iter;
+
+       boost::shared_ptr<Image> _image;
 };