From d71cf1ae31c7d488c95cd63278b200035e4d6a63 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 25 Jul 2018 13:54:10 +0100 Subject: Fix problems with loading projects with captions / subs. --- src/lib/types.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/types.cc') diff --git a/src/lib/types.cc b/src/lib/types.cc index b193ac9cf..898abeca4 100644 --- a/src/lib/types.cc +++ b/src/lib/types.cc @@ -100,7 +100,7 @@ string_to_text_type (string s) return TEXT_UNKNOWN; } else if (s == "open-subtitle") { return TEXT_OPEN_SUBTITLE; - } else if (s == "closed") { + } else if (s == "closed-caption") { return TEXT_CLOSED_CAPTION; } else { throw MetadataError (String::compose ("Unknown text type %1", s)); -- cgit v1.2.3