summaryrefslogtreecommitdiff
path: root/src/lib/content_factory.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-07-19 01:09:19 +0100
committerCarl Hetherington <cth@carlh.net>2018-07-19 23:45:19 +0100
commitc53c3e9f3d08478a391bfa1989772378609af693 (patch)
tree34a1ebe4b00e50b2a589a552ce8e88be63967c8f /src/lib/content_factory.cc
parenta8cd625da7064816fc890d458c0d4e2dc04ba796 (diff)
More renaming.
Diffstat (limited to 'src/lib/content_factory.cc')
-rw-r--r--src/lib/content_factory.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/content_factory.cc b/src/lib/content_factory.cc
index 24ad95578..4e8880ffe 100644
--- a/src/lib/content_factory.cc
+++ b/src/lib/content_factory.cc
@@ -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 PlainText (film, node, version));
+ content.reset (new PlainTextContent (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 PlainText (film, path));
+ single.reset (new PlainTextContent (film, path));
} else if (ext == ".xml") {
cxml::Document doc;
doc.read_file (path);