projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow content parts to not be preset in XML.
[dcpomatic.git]
/
src
/
lib
/
dcp_subtitle_content.cc
diff --git
a/src/lib/dcp_subtitle_content.cc
b/src/lib/dcp_subtitle_content.cc
index a6beacb0d728beb21acc3350e4d0555defe2b9d5..0702237f371a39f618e2e2bc99b8df94712104a6 100644
(file)
--- a/
src/lib/dcp_subtitle_content.cc
+++ b/
src/lib/dcp_subtitle_content.cc
@@
-45,7
+45,7
@@
DCPSubtitleContent::DCPSubtitleContent (shared_ptr<const Film> film, cxml::Const
: Content (film, node)
, _length (node->number_child<ContentTime::Type> ("Length"))
{
- subtitle
.reset (new SubtitleContent (this, film, node, version)
);
+ subtitle
= SubtitleContent::from_xml (this, film, node, version
);
}
void