X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Freel_sound_asset.cc;fp=src%2Freel_sound_asset.cc;h=178b0a08ed72062e90ec548b9d2b595917356d35;hb=926aff7db1e5ad6c02743608e3792fdca39eea4a;hp=1b582535ea2cfb354a0d58a88508cc940ef53d59;hpb=8b72edd4068deaf4a9ea5e469475419898976a9d;p=libdcp.git diff --git a/src/reel_sound_asset.cc b/src/reel_sound_asset.cc index 1b582535..178b0a08 100644 --- a/src/reel_sound_asset.cc +++ b/src/reel_sound_asset.cc @@ -60,7 +60,7 @@ ReelSoundAsset::ReelSoundAsset (shared_ptr node) } string -ReelSoundAsset::cpl_node_name () const +ReelSoundAsset::cpl_node_name (Standard) const { return "MainSound"; } @@ -78,7 +78,7 @@ ReelSoundAsset::write_to_cpl (xmlpp::Node* node, Standard standard) const if (key_id ()) { /* Find */ - xmlpp::Node* ms = find_child (node, cpl_node_name ()); + xmlpp::Node* ms = find_child (node, cpl_node_name (standard)); /* Find */ xmlpp::Node* hash = find_child (ms, "Hash"); ms->add_child_before (hash, "KeyId")->add_child_text ("urn:uuid:" + key_id().get ());