summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-09-09 22:41:52 +0200
committerCarl Hetherington <cth@carlh.net>2020-09-09 22:41:52 +0200
commitf77a03cc3ec0c5f917e0a2b6cf7599d035b34cff (patch)
tree04996a15949d0bf802dc0d55198945b5a41b9d7b /src
parent184bdd25573eaf398aac683efb12c0d2f4e676f7 (diff)
Use the <Id> read in when the Reel was created from XML (if appropriate)
when writing it out again, rather than creating a new one each time. Also there is the associated test churn here from removing a call to make_uuid().
Diffstat (limited to 'src')
-rw-r--r--src/reel.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reel.cc b/src/reel.cc
index 036147d6..453a3163 100644
--- a/src/reel.cc
+++ b/src/reel.cc
@@ -119,7 +119,7 @@ void
Reel::write_to_cpl (xmlpp::Element* node, Standard standard) const
{
xmlpp::Element* reel = node->add_child ("Reel");
- reel->add_child("Id")->add_child_text ("urn:uuid:" + make_uuid());
+ reel->add_child("Id")->add_child_text("urn:uuid:" + _id);
xmlpp::Element* asset_list = reel->add_child ("AssetList");
if (_main_markers) {