projects
/
libdcp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improve handling of image subtitle IDs in XML (DoM bug #1965)
[libdcp.git]
/
src
/
subtitle_asset_internal.cc
diff --git
a/src/subtitle_asset_internal.cc
b/src/subtitle_asset_internal.cc
index 7b9e18e90e7aa11b11f296a2e0ef8e11ebc23c59..25e03f0bc64da0ae7fedef90e78dbe581fcfe94a 100644
(file)
--- a/
src/subtitle_asset_internal.cc
+++ b/
src/subtitle_asset_internal.cc
@@
-239,7
+239,7
@@
order::Image::as_xml (xmlpp::Element* parent, Context& context) const
position_align (e, context, _h_align, _h_position, _v_align, _v_position);
if (context.standard == SMPTE) {
- e->add_child_text (_id);
+ e->add_child_text (
"urn:uuid:" +
_id);
} else {
e->add_child_text (_id + ".png");
}