Commit 167dace2 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

subtitle detection: add support for auto-detecting ass, jss, rt and usf subs (AHUM :D !!!! )

parent c82a2394
...@@ -62,15 +62,11 @@ static const char const sub_exts[][6] = { ...@@ -62,15 +62,11 @@ static const char const sub_exts[][6] = {
"utf", "utf8", "utf-8", "utf", "utf8", "utf-8",
"sub", "srt", "smi", "sub", "srt", "smi",
"txt", "ssa", "idx", "txt", "ssa", "idx",
"ass", "rt", "aqt",
"cdg", "usf", "jss", "cdg",
"" ""
}; };
/* extensions from unsupported types */
/* rt, aqt, jss, js, ass */
static void strcpy_trim( char *d, const char *s ) static void strcpy_trim( char *d, const char *s )
{ {
/* skip leading whitespace */ /* skip leading whitespace */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment