Build Empty objects from the presence or absence of decoders in
[dcpomatic.git] / src / lib / decoder_part.h
index 39f77e6e6cbabedffc1e6bd538135a1db7c73019..0b8b6a43bfdedc89d416aa21df3b60800649b741 100644 (file)
@@ -33,10 +33,11 @@ public:
        DecoderPart (Decoder* parent, boost::shared_ptr<Log> log);
        virtual ~DecoderPart () {}
 
-       virtual boost::optional<ContentTime> position () const = 0;
+       virtual ContentTime position () const = 0;
+       virtual void seek () = 0;
 
-       void set_ignore () {
-               _ignore = true;
+       void set_ignore (bool i) {
+               _ignore = i;
        }
 
        bool ignore () const {