diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-07-31 12:54:03 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-07-31 12:54:03 +0100 |
| commit | 4eb8edfa1aea3aa932bcf0f7bb3f626460f58b3c (patch) | |
| tree | c4c67c3ece9a1e9bd49a1b7f8f87b0617c46eea8 /src/picture_asset.cc | |
| parent | e3636c080d3d24471e85f519d69af4c11d5ecbd0 (diff) | |
Lazy digest building.
Diffstat (limited to 'src/picture_asset.cc')
| -rw-r--r-- | src/picture_asset.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/picture_asset.cc b/src/picture_asset.cc index c3bf39e8..abf9fcd9 100644 --- a/src/picture_asset.cc +++ b/src/picture_asset.cc @@ -74,7 +74,7 @@ PictureAsset::PictureAsset (string directory, string mxf_name, int fps, int leng , _width (width) , _height (height) { - _digest = make_digest (mxf_path().string(), 0); + } string @@ -123,8 +123,6 @@ PictureAsset::construct (sigc::slot<string, int> get_path) if (ASDCP_FAILURE (mxf_writer.Finalize())) { throw MiscError ("error in finalising video MXF"); } - - _digest = make_digest (mxf_path().string(), _progress); } void |
