diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-01-23 15:37:37 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-01-23 21:39:12 +0100 |
| commit | 4f85ccdd794682ed04081755d9272d6f006b4c2f (patch) | |
| tree | 6c8c48be39547d963d205c9db8479200c5125880 /src/lib/content_factory.cc | |
| parent | d8ded66fccb98bd0145afb2f08cf84aad7002a15 (diff) | |
Support binary STL subtitle files.v2.14.24
Diffstat (limited to 'src/lib/content_factory.cc')
| -rw-r--r-- | src/lib/content_factory.cc | 2 |
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; |
