diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-04-13 23:36:22 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-04-13 23:36:22 +0200 |
| commit | 488e3d1bd5e6b17d49f6db4df14c64f4b64db89b (patch) | |
| tree | 641fcf167b845df6eca68c54fdf1110a7a07a739 /src/reel_asset.cc | |
| parent | 51ae14c7e304d4fbc8d7524d584f3f4762d51f67 (diff) | |
Remove ReelEncryptableAsset and tidy up a bit.
Diffstat (limited to 'src/reel_asset.cc')
| -rw-r--r-- | src/reel_asset.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/reel_asset.cc b/src/reel_asset.cc index cd54ccba..1a6a25be 100644 --- a/src/reel_asset.cc +++ b/src/reel_asset.cc @@ -78,7 +78,7 @@ ReelAsset::ReelAsset (shared_ptr<const cxml::Node> node) xmlpp::Node* -ReelAsset::write_to_cpl_asset (xmlpp::Node* node, Standard standard, optional<string> hash) const +ReelAsset::write_to_cpl (xmlpp::Node* node, Standard standard) const { auto a = node->add_child (cpl_node_name (standard)); auto const attr = cpl_node_attribute (standard); @@ -99,9 +99,6 @@ ReelAsset::write_to_cpl_asset (xmlpp::Node* node, Standard standard, optional<st if (_duration) { a->add_child("Duration")->add_child_text(raw_convert<string>(*_duration)); } - if (hash) { - a->add_child("Hash")->add_child_text (hash.get()); - } return a; } |
