[vlc-devel] commit: subtitle detection: add support for auto-detecting ass, jss, rt and usf subs (AHUM :D !!!! ) (Derk-Jan Hartman )
git version control
git at videolan.org
Tue Sep 2 12:02:28 CEST 2008
vlc | branch: 0.9-bugfix | Derk-Jan Hartman <hartman at videolan.org> | Tue Sep 2 11:32:35 2008 +0200| [be9312fdab8482cb0259d956411472ec3786fcbc] | committer: Derk-Jan Hartman
subtitle detection: add support for auto-detecting ass, jss, rt and usf subs (AHUM :D !!!! )
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=be9312fdab8482cb0259d956411472ec3786fcbc
---
src/input/subtitles.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/input/subtitles.c b/src/input/subtitles.c
index 06b64b9..79f8c82 100644
--- a/src/input/subtitles.c
+++ b/src/input/subtitles.c
@@ -62,15 +62,11 @@ static const char const sub_exts[][6] = {
"utf", "utf8", "utf-8",
"sub", "srt", "smi",
"txt", "ssa", "idx",
-
- "cdg",
-
+ "ass", "rt", "aqt",
+ "usf", "jss", "cdg",
""
};
-/* extensions from unsupported types */
-/* rt, aqt, jss, js, ass */
-
static void strcpy_trim( char *d, const char *s )
{
/* skip leading whitespace */
More information about the vlc-devel
mailing list