summaryrefslogtreecommitdiff
path: root/src/lib/dcp_decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-10-14 11:24:48 +0200
committerCarl Hetherington <cth@carlh.net>2019-10-14 11:24:48 +0200
commit96f7dd41a2c8627bc1ea0d24d84142eb04b4ffef (patch)
tree27c4f6a5355a0496e960e1769632d00c41ad4816 /src/lib/dcp_decoder.h
parent95bd2d068f67f7c0e611c720c95bfd6781329d86 (diff)
parenta9dde34b8772ef8b985af067e2ff709be4e3cab6 (diff)
Merge branch 'v2.15.x' of ssh://localhost:2222/home/carl/git/dcpomatic into v2.15.x
Diffstat (limited to 'src/lib/dcp_decoder.h')
-rw-r--r--src/lib/dcp_decoder.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/dcp_decoder.h b/src/lib/dcp_decoder.h
index 2e63b24a2..496d95740 100644
--- a/src/lib/dcp_decoder.h
+++ b/src/lib/dcp_decoder.h
@@ -58,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;
@@ -72,6 +76,7 @@ private:
boost::shared_ptr<TextDecoder> decoder,
dcp::Size size
);
+ std::string calculate_lazy_digest (boost::shared_ptr<const DCPContent>) const;
/** Time of next thing to return from pass relative to the start of _reel */
dcpomatic::ContentTime _next;
@@ -89,4 +94,6 @@ private:
bool _decode_referenced;
boost::optional<int> _forced_reduction;
+
+ std::string _lazy_digest;
};