Change MagickImageProxy to FFmpegImageProxy and make it use FFmpeg
[dcpomatic.git] / src / lib / decoder_part.h
index ed92d43b4258abf95fa03a2049e7b137c69cfe29..0b8b6a43bfdedc89d416aa21df3b60800649b741 100644 (file)
@@ -31,19 +31,19 @@ class DecoderPart
 {
 public:
        DecoderPart (Decoder* parent, boost::shared_ptr<Log> log);
+       virtual ~DecoderPart () {}
 
-       void set_ignore () {
-               _ignore = true;
+       virtual ContentTime position () const = 0;
+       virtual void seek () = 0;
+
+       void set_ignore (bool i) {
+               _ignore = i;
        }
 
        bool ignore () const {
                return _ignore;
        }
 
-       virtual boost::optional<ContentTime> position () const = 0;
-
-       void maybe_seek (ContentTime time, bool accurate);
-
 protected:
        Decoder* _parent;
        boost::shared_ptr<Log> _log;