diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-07-19 14:36:04 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-19 23:45:23 +0100 |
| commit | 507a389e9c5f84ec1d51e7566e38fbf42f658537 (patch) | |
| tree | 5387a0ae0555126fd278b3ab6b496bb3cd8f9fb3 /src/lib/content_factory.cc | |
| parent | 491176352b80bea000564e6662738722185be721 (diff) | |
PlainText -> PlainTextFile.
Diffstat (limited to 'src/lib/content_factory.cc')
| -rw-r--r-- | src/lib/content_factory.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/content_factory.cc b/src/lib/content_factory.cc index 4e8880ffe..167b3f4e9 100644 --- a/src/lib/content_factory.cc +++ b/src/lib/content_factory.cc @@ -26,7 +26,7 @@ #include "audio_content.h" #include "image_content.h" #include "atmos_mxf_content.h" -#include "plain_text_content.h" +#include "plain_text_file_content.h" #include "dcp_content.h" #include "dcp_text_content.h" #include "util.h" @@ -88,7 +88,7 @@ content_factory (shared_ptr<const Film> film, cxml::NodePtr node, int version, l ); } else if (type == "SubRip" || type == "TextSubtitle") { - content.reset (new PlainTextContent (film, node, version)); + content.reset (new PlainTextFileContent (film, node, version)); } else if (type == "DCP") { content.reset (new DCPContent (film, node, version)); } else if (type == "DCPSubtitle") { @@ -210,7 +210,7 @@ content_factory (shared_ptr<const Film> film, boost::filesystem::path path) if (valid_image_file (path)) { single.reset (new ImageContent (film, path)); } else if (ext == ".srt" || ext == ".ssa" || ext == ".ass") { - single.reset (new PlainTextContent (film, path)); + single.reset (new PlainTextFileContent (film, path)); } else if (ext == ".xml") { cxml::Document doc; doc.read_file (path); |
