summaryrefslogtreecommitdiff
path: root/src/smpte_subtitle_asset.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-04-06 22:32:14 +0200
committerCarl Hetherington <cth@carlh.net>2023-04-19 12:59:37 +0200
commit7a47f00a7ff3f95ef4013bf453340b94c8535e07 (patch)
tree134b34a64892e470c66cc599435f28e6b8190a23 /src/smpte_subtitle_asset.cc
parentc6387f885fd39e901189b6c73fca0a28cc9ec85b (diff)
Remove xmlns:xs namespace from subtitle XML (DoM #2498).
Diffstat (limited to 'src/smpte_subtitle_asset.cc')
-rw-r--r--src/smpte_subtitle_asset.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smpte_subtitle_asset.cc b/src/smpte_subtitle_asset.cc
index 6db90b2e..3a58ba8e 100644
--- a/src/smpte_subtitle_asset.cc
+++ b/src/smpte_subtitle_asset.cc
@@ -381,7 +381,7 @@ SMPTESubtitleAsset::xml_as_string () const
subtitles_as_xml (root->add_child("SubtitleList"), _time_code_rate, Standard::SMPTE);
- return format_xml(doc, { {"", schema_namespace()}, {"xs", "http://www.w3.org/2001/XMLSchema"} });
+ return format_xml(doc, std::make_pair(string{}, schema_namespace()));
}