Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
[dcpomatic.git] / src / lib / decoder_part.h
index 36594773a0dfa829d296de282268649ecddf81f6..0b8b6a43bfdedc89d416aa21df3b60800649b741 100644 (file)
@@ -33,16 +33,17 @@ 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;
-
 protected:
        Decoder* _parent;
        boost::shared_ptr<Log> _log;