diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-01-05 14:01:00 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-01-05 14:01:00 +0000 |
| commit | 342aad2ddf893aaaafa9a2c9980579d2dc4ec125 (patch) | |
| tree | 85cd4c34316d76679c18ea49c7de33e8066a6a1c /src/smpte_subtitle_asset.cc | |
| parent | aa632b458fc2aa5ff1ca2e2702dcf589ae627d7d (diff) | |
Try to rationalise handling of urn:uuid: prefixes.
Diffstat (limited to 'src/smpte_subtitle_asset.cc')
| -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 00a9299a..b4190dd5 100644 --- a/src/smpte_subtitle_asset.cc +++ b/src/smpte_subtitle_asset.cc @@ -81,7 +81,7 @@ SMPTESubtitleAsset::SMPTESubtitleAsset (boost::filesystem::path file) reader.reset (); try { xml->read_file (file); - _id = xml->string_child ("Id").substr (9); + _id = remove_urn_uuid (xml->string_child ("Id")); } catch (cxml::Error& e) { boost::throw_exception ( DCPReadError ( |
