summaryrefslogtreecommitdiffstats
path: root/player/external_files.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-01-31 14:50:58 +0100
committerwm4 <wm4@nowhere>2017-01-31 14:50:58 +0100
commitccf2b302cf314575fa4184e5ae19532c2444159e (patch)
tree958c8501652adb2815a5be1172eb8e46d2fd51d7 /player/external_files.c
parent9c12d54afa70f3535a7114498433cf566a9e9a86 (diff)
downloadmpv-ccf2b302cf314575fa4184e5ae19532c2444159e.tar.bz2
mpv-ccf2b302cf314575fa4184e5ae19532c2444159e.tar.xz
player: add .scc subtitle extension
Requested. Supposedly "scenarist closed captions". (The list of getting quite full. But it's probably still better than trying to probe the files by contents, because the external subtitle loader code will initially look at _all_ files in the same directory as the main file.)
Diffstat (limited to 'player/external_files.c')
-rw-r--r--player/external_files.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/player/external_files.c b/player/external_files.c
index eb7345ac84..c1affcec94 100644
--- a/player/external_files.c
+++ b/player/external_files.c
@@ -16,7 +16,8 @@
static const char *const sub_exts[] = {"utf", "utf8", "utf-8", "idx", "sub", "srt",
"smi", "rt", "txt", "ssa", "aqt", "jss",
- "js", "ass", "mks", "vtt", "sup", NULL};
+ "js", "ass", "mks", "vtt", "sup", "scc",
+ NULL};
static const char *const audio_exts[] = {"mp3", "aac", "mka", "dts", "flac",
"ogg", "m4a", "ac3", "opus", "wav",