summaryrefslogtreecommitdiff
path: root/src/lib/content_factory.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-06-18 23:53:02 +0100
committerCarl Hetherington <cth@carlh.net>2016-06-18 23:53:02 +0100
commita98eb60029247836d3dec5cb1539d9cb9a67d0eb (patch)
treecaaa0eb3cfb063dc26838dc5703bfe95e778aa2a /src/lib/content_factory.cc
parenta9cb50c60a4d38d537daad96dfd9c73bcdc6c40a (diff)
Parse .ass files using the text subtitle code.
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 38112b968..d3905e4e7 100644
--- a/src/lib/content_factory.cc
+++ b/src/lib/content_factory.cc
@@ -164,7 +164,7 @@ content_factory (shared_ptr<const Film> film, boost::filesystem::path path)
if (valid_image_file (path)) {
content.reset (new ImageContent (film, path));
- } else if (ext == ".srt" || ext == ".ssa") {
+ } else if (ext == ".srt" || ext == ".ssa" || ext == ".ass") {
content.reset (new TextSubtitleContent (film, path));
} else if (ext == ".xml") {
content.reset (new DCPSubtitleContent (film, path));