Fix failure to open v2.14.x documents with invalid or empty subtitle languages (...
[dcpomatic.git] / src / lib / dcp_subtitle_content.cc
index 858849ca3134f003803abbfcad881dcb890c1d8e..3bae6e88fb572e686c418995759adcc2d698752f 100644 (file)
@@ -48,7 +48,8 @@ DCPSubtitleContent::DCPSubtitleContent (cxml::ConstNodePtr node, int version)
        : Content (node)
        , _length (node->number_child<ContentTime::Type> ("Length"))
 {
-       text = TextContent::from_xml (this, node, version);
+       list<string> notes;
+       text = TextContent::from_xml (this, node, version, notes);
 }
 
 void