X-Git-Url: https://main.carlh.net/gitweb/?p=libdcp.git;a=blobdiff_plain;f=src%2Freel_file_asset.cc;h=85bf9de71b80e6a96a30a88ab4547f26cda90bf3;hp=a55e084e874e948ad3803a131d34eb1abd426a3b;hb=51ae14c7e304d4fbc8d7524d584f3f4762d51f67;hpb=ee23803a3dced33ae93346dd1e5cb6453d873023 diff --git a/src/reel_file_asset.cc b/src/reel_file_asset.cc index a55e084e..85bf9de7 100644 --- a/src/reel_file_asset.cc +++ b/src/reel_file_asset.cc @@ -45,8 +45,9 @@ using std::shared_ptr; using namespace dcp; -ReelFileAsset::ReelFileAsset (shared_ptr asset) - : _asset_ref (asset) +ReelFileAsset::ReelFileAsset (shared_ptr asset, std::string id, Fraction edit_rate, int64_t intrinsic_duration, int64_t entry_point) + : ReelAsset (id, edit_rate, intrinsic_duration, entry_point) + , _asset_ref (asset) , _hash (asset->hash()) { @@ -54,7 +55,8 @@ ReelFileAsset::ReelFileAsset (shared_ptr asset) ReelFileAsset::ReelFileAsset (shared_ptr node) - : _asset_ref (remove_urn_uuid(node->string_child("Id"))) + : ReelAsset (node) + , _asset_ref (remove_urn_uuid(node->string_child("Id"))) , _hash (node->optional_string_child ("Hash")) {