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/sound_asset.cc | |
| parent | e3636c080d3d24471e85f519d69af4c11d5ecbd0 (diff) | |
Lazy digest building.
Diffstat (limited to 'src/sound_asset.cc')
| -rw-r--r-- | src/sound_asset.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sound_asset.cc b/src/sound_asset.cc index dae66f90..9a738a08 100644 --- a/src/sound_asset.cc +++ b/src/sound_asset.cc @@ -57,7 +57,7 @@ SoundAsset::SoundAsset (string directory, string mxf_name, int fps, int length) : Asset (directory, mxf_name, 0, fps, length) , _channels (0) { - _digest = make_digest (mxf_path().string(), 0); + } string @@ -161,8 +161,6 @@ SoundAsset::construct (sigc::slot<string, Channel> get_path) if (ASDCP_FAILURE (mxf_writer.Finalize())) { throw MiscError ("could not finalise audio MXF"); } - - _digest = make_digest (mxf_path().string(), _progress); } void |
