summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-12-18 15:16:23 +0000
committerCarl Hetherington <cth@carlh.net>2015-12-18 15:16:23 +0000
commitfb03c081059cd44b48499a165f049e120800f051 (patch)
treef9b74c41732ae0a4754bd613bf47a271c169dd3e
parente330669de0f5d7d9d922dc69945cca74ac9800d9 (diff)
Ask asset to make hash so that we get an already-calculated one if it exists.
-rw-r--r--src/reel_asset.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reel_asset.cc b/src/reel_asset.cc
index ecaaa1fc..654cde03 100644
--- a/src/reel_asset.cc
+++ b/src/reel_asset.cc
@@ -60,7 +60,7 @@ ReelAsset::ReelAsset (shared_ptr<Asset> asset, Fraction edit_rate, int64_t intri
, _intrinsic_duration (intrinsic_duration)
, _entry_point (entry_point)
, _duration (intrinsic_duration - entry_point)
- , _hash (make_digest (asset->file (), 0))
+ , _hash (asset->hash ())
{
/* default _annotation_text to the leaf name of our file */
_annotation_text = asset->file().leaf().string ();