Commit 330b4345 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

subtitle detection: Add support for pbs, dks, mpsub, pjs and mpl2 detection.

Moved the order around a bit so that more common formats are earlier in the array.
parent be9312fd
...@@ -59,11 +59,13 @@ ...@@ -59,11 +59,13 @@
* The possible extensions for subtitle files we support * The possible extensions for subtitle files we support
*/ */
static const char const sub_exts[][6] = { static const char const sub_exts[][6] = {
"idx", "sub", "srt",
"ssa", "ass", "smi",
"utf", "utf8", "utf-8", "utf", "utf8", "utf-8",
"sub", "srt", "smi", "txt", "rt", "aqt",
"txt", "ssa", "idx", "usf", "jss", "cdg",
"ass", "rt", "aqt", "psb", "mpsub","mpl2",
"usf", "jss", "cdg", "pjs", "dks",
"" ""
}; };
......
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