summaryrefslogtreecommitdiff
path: root/src/reel_subtitle_asset.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/reel_subtitle_asset.cc')
-rw-r--r--src/reel_subtitle_asset.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/reel_subtitle_asset.cc b/src/reel_subtitle_asset.cc
index 49ac033c..4fa9fd0a 100644
--- a/src/reel_subtitle_asset.cc
+++ b/src/reel_subtitle_asset.cc
@@ -76,14 +76,8 @@ ReelSubtitleAsset::key_type () const
xmlpp::Node *
ReelSubtitleAsset::write_to_cpl (xmlpp::Node* node, Standard standard) const
{
-
- if (key_id ()) {
- /* Find <Hash> */
- xmlpp::Node* hash = find_child (asset, "Hash");
- asset->add_child_before(hash, "KeyId")->add_child_text("urn:uuid:" + key_id().get());
- }
-
xmlpp::Node* asset = write_to_cpl_asset (node, standard, hash());
+ write_to_cpl_mxf (asset);
return asset;
}