summaryrefslogtreecommitdiff
path: root/src/asset.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-07-31 12:54:03 +0100
committerCarl Hetherington <cth@carlh.net>2012-07-31 12:54:03 +0100
commit4eb8edfa1aea3aa932bcf0f7bb3f626460f58b3c (patch)
treec4c67c3ece9a1e9bd49a1b7f8f87b0617c46eea8 /src/asset.h
parente3636c080d3d24471e85f519d69af4c11d5ecbd0 (diff)
Lazy digest building.
Diffstat (limited to 'src/asset.h')
-rw-r--r--src/asset.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/asset.h b/src/asset.h
index f6d17256..cf161104 100644
--- a/src/asset.h
+++ b/src/asset.h
@@ -78,6 +78,7 @@ protected:
void fill_writer_info (ASDCP::WriterInfo* w) const;
boost::filesystem::path mxf_path () const;
+ std::string digest () const;
/** Directory that our MXF file is in */
std::string _directory;
@@ -91,8 +92,10 @@ protected:
int _length;
/** Our UUID */
std::string _uuid;
+
+private:
/** Digest of our MXF */
- std::string _digest;
+ mutable std::string _digest;
};
}