X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Freel_sound_asset.cc;h=40466ff31d69a56af93f7e46a20a5c26184a8524;hb=dab4fb9e3d2e828c98e33f9be45a92757fc41095;hp=4073472e5ff4dff8d671361dc7007f927dcc0589;hpb=5665c52ad16aaba050c34b8b391a3212e8cf85a8;p=libdcp.git diff --git a/src/reel_sound_asset.cc b/src/reel_sound_asset.cc index 4073472e..40466ff3 100644 --- a/src/reel_sound_asset.cc +++ b/src/reel_sound_asset.cc @@ -74,14 +74,8 @@ ReelSoundAsset::key_type () const xmlpp::Node * ReelSoundAsset::write_to_cpl (xmlpp::Node* node, Standard standard) const { - - if (key_id ()) { - /* Find */ - 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; }