diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-11-14 00:26:48 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-11-14 00:39:51 +0100 |
| commit | e82c83b35e7638957f3d80b12d4c59c17436473a (patch) | |
| tree | 3f9e7345f752993985dd65b140dc9ed7545b4a0a /src/lib/content_factory.cc | |
| parent | c2f74bf15f6f2a88138119a42a44f4241169f6e5 (diff) | |
Basic WebVTT subtitle support (#1361).
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 135f3fe5f..5f1e6c9b7 100644 --- a/src/lib/content_factory.cc +++ b/src/lib/content_factory.cc @@ -167,7 +167,7 @@ content_factory (boost::filesystem::path path) if (valid_image_file (path)) { single = make_shared<ImageContent>(path); - } else if (ext == ".srt" || ext == ".ssa" || ext == ".ass" || ext == ".stl") { + } else if (ext == ".srt" || ext == ".ssa" || ext == ".ass" || ext == ".stl" || ext == ".vtt") { single = make_shared<StringTextFileContent>(path); } else if (ext == ".xml") { cxml::Document doc; |
