summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/fcpxml_content.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/fcpxml_content.cc b/src/lib/fcpxml_content.cc
index e72ce2d7d..28345f85d 100644
--- a/src/lib/fcpxml_content.cc
+++ b/src/lib/fcpxml_content.cc
@@ -45,8 +45,9 @@ FCPXMLContent::FCPXMLContent(cxml::ConstNodePtr node, optional<boost::filesystem
: Content(node, film_directory)
{
text = TextContent::from_xml(this, node, version, notes);
-}
+ _length = dcpomatic::ContentTime(node->number_child<dcpomatic::ContentTime::Type>("Length"));
+}
void