diff options
Diffstat (limited to 'src/lib/string_text_file_content.cc')
| -rw-r--r-- | src/lib/string_text_file_content.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/string_text_file_content.cc b/src/lib/string_text_file_content.cc index 2698dbb6d..9c941c2bb 100644 --- a/src/lib/string_text_file_content.cc +++ b/src/lib/string_text_file_content.cc @@ -33,12 +33,13 @@ using std::string; using std::cout; using boost::shared_ptr; +using boost::optional; using dcp::raw_convert; StringTextFileContent::StringTextFileContent (shared_ptr<const Film> film, boost::filesystem::path path) : Content (film, path) { - text.push_back (shared_ptr<TextContent> (new TextContent (this, TEXT_OPEN_SUBTITLE))); + text.push_back (shared_ptr<TextContent> (new TextContent (this, TEXT_OPEN_SUBTITLE, TEXT_UNKNOWN))); } StringTextFileContent::StringTextFileContent (shared_ptr<const Film> film, cxml::ConstNodePtr node, int version) |
