[MPlayer-dev-eng] [PATCH] Autoload jacosubs with .js extension

Vladimir Mosgalin mosgalin at VM10124.spb.edu
Tue Sep 2 19:16:21 CEST 2003


OK, in separate mail, as you requested.

Small patch to autoload subs (jacosubs) with .js extension. They are
quite common.

-- 

Vladimir
-------------- next part --------------
diff -uNr mplayer/subreader.c mplayer.old/subreader.c
--- mplayer/subreader.c	Tue Jul 29 14:00:05 2003
+++ mplayer.old/subreader.c	Tue Jul 29 13:58:53 2003
@@ -1613,7 +1613,7 @@
     char *tmp_fname_noext, *tmp_fname_trim, *tmp_fname_ext, *tmpresult;
  
     int len, pos, found, i, j;
-    char * sub_exts[] = {  "utf", "utf8", "utf-8", "sub", "srt", "smi", "rt", "txt", "ssa", "aqt", "jss", "ass", NULL};
+    char * sub_exts[] = {  "utf", "utf8", "utf-8", "sub", "srt", "smi", "rt", "txt", "ssa", "aqt", "jss", "js", "ass", NULL};
     subfn *result;
     char **result2;
     


More information about the MPlayer-dev-eng mailing list