From fb03c081059cd44b48499a165f049e120800f051 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 18 Dec 2015 15:16:23 +0000 Subject: Ask asset to make hash so that we get an already-calculated one if it exists. --- src/reel_asset.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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, 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 (); -- cgit v1.2.3