From f77a03cc3ec0c5f917e0a2b6cf7599d035b34cff Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 9 Sep 2020 22:41:52 +0200 Subject: Use the 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(). --- src/reel.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) { -- cgit v1.2.3