summaryrefslogtreecommitdiff
path: root/src/lib/content_factory.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-01-23 15:37:37 +0100
committerCarl Hetherington <cth@carlh.net>2020-01-24 22:14:44 +0100
commit3ce4c624eadab42d740b08d60d52bd0d4f2b86f6 (patch)
tree55a6944d2ee6a9e9999e9ee964147d3287b2b82e /src/lib/content_factory.cc
parentf10e025eba54b0ab4dbe1b3611071b160ca89208 (diff)
Support binary STL subtitle files.
Diffstat (limited to 'src/lib/content_factory.cc')
-rw-r--r--src/lib/content_factory.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/content_factory.cc b/src/lib/content_factory.cc
index f123061b7..0e8b04eda 100644
--- a/src/lib/content_factory.cc
+++ b/src/lib/content_factory.cc
@@ -166,7 +166,7 @@ content_factory (boost::filesystem::path path)
if (valid_image_file (path)) {
single.reset (new ImageContent(path));
- } else if (ext == ".srt" || ext == ".ssa" || ext == ".ass") {
+ } else if (ext == ".srt" || ext == ".ssa" || ext == ".ass" || ext == ".stl") {
single.reset (new StringTextFileContent(path));
} else if (ext == ".xml") {
cxml::Document doc;