From 854bc0a513611a402b2d693d9d17da3420fd10b4 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 8 Apr 2021 02:05:04 +0200 Subject: Don't set the MXF _id from the XML tag. 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 | 1 - 1 file changed, 1 deletion(-) diff --git a/src/smpte_subtitle_asset.cc b/src/smpte_subtitle_asset.cc index 9ff194f8..6c3277ce 100644 --- 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("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 ( -- cgit v1.2.3