X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fdecoder_part.h;h=c8e13445a96c42761e3a3fb1f5f65b6c0de3738b;hb=ce17803bf356f3e796dccde43b4cc3656609e7fc;hp=0b8b6a43bfdedc89d416aa21df3b60800649b741;hpb=d920b12b4d05fa1b0e95e1178ee21c671e0ae431;p=dcpomatic.git diff --git a/src/lib/decoder_part.h b/src/lib/decoder_part.h index 0b8b6a43b..c8e13445a 100644 --- a/src/lib/decoder_part.h +++ b/src/lib/decoder_part.h @@ -26,14 +26,15 @@ 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 boost::optional position (boost::shared_ptr film) const = 0; virtual void seek () = 0; void set_ignore (bool i) { @@ -46,7 +47,6 @@ public: protected: Decoder* _parent; - boost::shared_ptr _log; private: bool _ignore;