Support binary STL subtitle files.
[dcpomatic.git] / src / lib / content_factory.cc
index f123061b75ea1e936d311a128c6a2c779e3fa3e0..0e8b04eda21c48b9b22f975a2e7e4b126485a417 100644 (file)
@@ -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;