X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fdecoder_part.h;h=53d1a1b0827349fecc2b37dece5498be3786b837;hb=c4403784febdbdd42e9c32e67fadb147f11fe566;hp=a9568be8a6586a84b8d596c3f46795f2e89b0de5;hpb=89aa9d4ba69e471949f791cdafe4ae20cea554d2;p=dcpomatic.git diff --git a/src/lib/decoder_part.h b/src/lib/decoder_part.h index a9568be8a..53d1a1b08 100644 --- a/src/lib/decoder_part.h +++ b/src/lib/decoder_part.h @@ -26,17 +26,19 @@ class Decoder; class Log; +class Film; class DecoderPart { public: - DecoderPart (Decoder* parent, boost::shared_ptr log); + DecoderPart (Decoder* parent); virtual ~DecoderPart () {} - virtual ContentTime position () const = 0; + virtual dcpomatic::ContentTime position (boost::shared_ptr film) const = 0; + virtual void seek () = 0; - void set_ignore () { - _ignore = true; + void set_ignore (bool i) { + _ignore = i; } bool ignore () const { @@ -45,7 +47,6 @@ public: protected: Decoder* _parent; - boost::shared_ptr _log; private: bool _ignore;