diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-09-12 14:04:37 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-09-12 14:04:37 +0100 |
| commit | 452d538a91272fa3695bc40025468f6391c1a0a9 (patch) | |
| tree | f4cb340fac61055a96355aff3ce3000f2772fe2e /src | |
| parent | d4478f0c974fe8145ab51fbe2fd71d2c63061a9d (diff) | |
Missing urn:uuid:
Diffstat (limited to 'src')
| -rw-r--r-- | src/smpte_subtitle_asset.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smpte_subtitle_asset.cc b/src/smpte_subtitle_asset.cc index cb6e90c1..c792506a 100644 --- a/src/smpte_subtitle_asset.cc +++ b/src/smpte_subtitle_asset.cc @@ -187,7 +187,7 @@ SMPTESubtitleAsset::xml_as_string () const root->set_namespace_declaration ("http://www.smpte-ra.org/schemas/428-7/2010/DCST", "dcst"); root->set_namespace_declaration ("http://www.w3.org/2001/XMLSchema", "xs"); - root->add_child("ID", "dcst")->add_child_text (_id); + root->add_child("Id", "dcst")->add_child_text ("urn:uuid:" + _id); root->add_child("ContentTitleText", "dcst")->add_child_text (_content_title_text); if (_annotation_text) { root->add_child("AnnotationText", "dcst")->add_child_text (_annotation_text.get ()); |
