From 24dcab1d4d8d7a28a939c7c4d786197684f155f6 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 23 Jul 2018 16:42:28 +0100 Subject: Introduce the idea of unknown original subtitle type to clean up the GUI a bit. --- src/lib/string_text_file_content.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib/string_text_file_content.cc') 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 film, boost::filesystem::path path) : Content (film, path) { - text.push_back (shared_ptr (new TextContent (this, TEXT_OPEN_SUBTITLE))); + text.push_back (shared_ptr (new TextContent (this, TEXT_OPEN_SUBTITLE, TEXT_UNKNOWN))); } StringTextFileContent::StringTextFileContent (shared_ptr film, cxml::ConstNodePtr node, int version) -- cgit v1.2.3