From 4f85ccdd794682ed04081755d9272d6f006b4c2f Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 23 Jan 2020 15:37:37 +0100 Subject: Support binary STL subtitle files. --- src/lib/content_factory.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/content_factory.cc') 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; -- cgit v1.2.3