projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f094d85
)
Don't set the MXF _id from the XML <Id> tag.
author
Carl Hetherington
<cth@carlh.net>
Thu, 8 Apr 2021 00:05:04 +0000
(
02:05
+0200)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 8 Apr 2021 00:05:04 +0000
(
02:05
+0200)
They should not be the same, so it's unhelpful to make them so.
parse_xml() sets up _xml_id anyway.
src/smpte_subtitle_asset.cc
patch
|
blob
|
history
diff --git
a/src/smpte_subtitle_asset.cc
b/src/smpte_subtitle_asset.cc
index 9ff194f8152a8e5c9c8530cdb469c86b69a387ab..6c3277ce09cd28d8299daba12157cfd5e8ace9ef 100644
(file)
--- a/
src/smpte_subtitle_asset.cc
+++ b/
src/smpte_subtitle_asset.cc
@@
-112,7
+112,6
@@
SMPTESubtitleAsset::SMPTESubtitleAsset (boost::filesystem::path file)
xml = make_shared<cxml::Document>("SubtitleReel");
xml->read_file (file);
parse_xml (xml);
- _id = _xml_id = remove_urn_uuid (xml->string_child ("Id"));
} catch (cxml::Error& e) {
boost::throw_exception (
ReadError (