summaryrefslogtreecommitdiff
path: root/src/lib/dcp_subtitle_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-05-10 13:22:35 +0100
committerCarl Hetherington <cth@carlh.net>2016-05-18 11:50:29 +0100
commitcc76b517f6a74f813ae38137bdc88ff3bafa6dd9 (patch)
tree34c2960763f897936efef689898a1f392fb38375 /src/lib/dcp_subtitle_content.cc
parenta3073b3059e8df6304d2936ab2c605e6908a7373 (diff)
Allow content parts to not be preset in XML.
Diffstat (limited to 'src/lib/dcp_subtitle_content.cc')
-rw-r--r--src/lib/dcp_subtitle_content.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dcp_subtitle_content.cc b/src/lib/dcp_subtitle_content.cc
index a6beacb0d..0702237f3 100644
--- 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