diff options
| author | Carl Hetherington <cth@carlh.net> | 2026-01-31 18:21:48 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2026-01-31 18:21:48 +0100 |
| commit | ebcc22dc9db55f762f35b9c408163df847ba804f (patch) | |
| tree | b5aa1bc2a3b77097e0eb506f844bf2ac1fb6852c /src/reel_file_asset.cc | |
| parent | db15020d516c2d2ea36c10261a22a7da9c4a60ed (diff) | |
Add some new constructors.
Diffstat (limited to 'src/reel_file_asset.cc')
| -rw-r--r-- | src/reel_file_asset.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/reel_file_asset.cc b/src/reel_file_asset.cc index ad534ebd..f564d8d9 100644 --- a/src/reel_file_asset.cc +++ b/src/reel_file_asset.cc @@ -52,6 +52,16 @@ using boost::optional; using namespace dcp; +ReelFileAsset::ReelFileAsset(boost::optional<std::string> key_id, std::string id, Fraction edit_rate, int64_t intrinsic_duration, int64_t entry_point, optional<string> hash) + : ReelAsset(id, edit_rate, intrinsic_duration, entry_point) + , _asset_ref(id) + , _hash(hash) + , _key_id(key_id) +{ + +} + + ReelFileAsset::ReelFileAsset (shared_ptr<Asset> asset, optional<string> key_id, 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) |
