Don't set the MXF _id from the XML <Id> tag.
authorCarl Hetherington <cth@carlh.net>
Thu, 8 Apr 2021 00:05:04 +0000 (02:05 +0200)
committerCarl 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

index 9ff194f8152a8e5c9c8530cdb469c86b69a387ab..6c3277ce09cd28d8299daba12157cfd5e8ace9ef 100644 (file)
@@ -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 (