X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fdecoder_part.h;h=0b8b6a43bfdedc89d416aa21df3b60800649b741;hb=35992b8f2c9d58a08d1ecb08a39d7c99362fd2c0;hp=36594773a0dfa829d296de282268649ecddf81f6;hpb=de2af791bdfdcd653752cba970e59efc7bf810c7;p=dcpomatic.git diff --git a/src/lib/decoder_part.h b/src/lib/decoder_part.h index 36594773a..0b8b6a43b 100644 --- a/src/lib/decoder_part.h +++ b/src/lib/decoder_part.h @@ -33,16 +33,17 @@ public: DecoderPart (Decoder* parent, boost::shared_ptr 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 position () const = 0; - protected: Decoder* _parent; boost::shared_ptr _log;