X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fdcp_decoder.h;h=496d95740d63cf26e9c74024dd43f506416cbf7b;hb=4cb18d1e0b8fdedf6bb38e1d4187a2d782957022;hp=f31d28053c3b3fc987190585fab451633a6ffa38;hpb=57f112a2bd073123a686141be6c16ba997349056;p=dcpomatic.git diff --git a/src/lib/dcp_decoder.h b/src/lib/dcp_decoder.h index f31d28053..496d95740 100644 --- a/src/lib/dcp_decoder.h +++ b/src/lib/dcp_decoder.h @@ -44,7 +44,8 @@ public: boost::shared_ptr film, boost::shared_ptr, bool fast, - boost::shared_ptr old = boost::shared_ptr() + bool tolerant, + boost::shared_ptr old ); std::list > reels () const { @@ -57,6 +58,10 @@ public: bool pass (); void seek (dcpomatic::ContentTime t, bool accurate); + std::string lazy_digest () const { + return _lazy_digest; + } + private: friend struct dcp_subtitle_within_dcp_test; @@ -71,6 +76,7 @@ private: boost::shared_ptr decoder, dcp::Size size ); + std::string calculate_lazy_digest (boost::shared_ptr) const; /** Time of next thing to return from pass relative to the start of _reel */ dcpomatic::ContentTime _next; @@ -88,4 +94,6 @@ private: bool _decode_referenced; boost::optional _forced_reduction; + + std::string _lazy_digest; };