diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-09-09 22:41:52 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-09-09 22:41:52 +0200 |
| commit | f77a03cc3ec0c5f917e0a2b6cf7599d035b34cff (patch) | |
| tree | 04996a15949d0bf802dc0d55198945b5a41b9d7b /src | |
| parent | 184bdd25573eaf398aac683efb12c0d2f4e676f7 (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.cc | 2 |
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) { |
