[MPlayer-dev-eng] [patch] Polish options support

Torinthiel torinthiel at wp.pl
Mon Jan 12 00:12:11 CET 2004


As MPlayer gets more and more polish ;) it would be nice if it could
support polish options in mplayer.conf.
Can I apply?
Torinthiel

-- 
 Waclaw "Torinthiel" Schiller       GG#: 542916, 3073512
   torinthiel(at)wp(dot)pl
   gpg: B06901F1 fpr: FAA3 559F CAE9 34DE CDC8  7346 2B6E 39F2 B069 01F1
 "No classmates may be used during this examination"
-------------- next part --------------
Index: m_option.c
===================================================================
RCS file: /cvsroot/mplayer/main/m_option.c,v
retrieving revision 1.26
diff -u -r1.26 m_option.c
--- m_option.c	10 Jan 2004 14:38:07 -0000	1.26
+++ m_option.c	11 Jan 2004 23:10:00 -0000
@@ -82,6 +82,7 @@
 	!strcasecmp(param, "y") ||
 	!strcasecmp(param, "j") ||
 	!strcasecmp(param, "i") ||
+	!strcasecmp(param, "tak") ||
 	!strcmp(param, "1")) {
       if(dst) VAL(dst) = opt->max;
     } else if (!strcasecmp(param, "no") ||
@@ -90,6 +91,7 @@
 	       !strcasecmp(param, "nicht") ||
 	       !strcasecmp(param, "nem") ||
 	       !strcasecmp(param, "n") ||
+	       !strcasecmp(param, "nie") ||
 	       !strcmp(param, "0")) {
       if(dst) VAL(dst) = opt->min;
     } else {
Index: etc/example.conf
===================================================================
RCS file: /cvsroot/mplayer/main/etc/example.conf,v
retrieving revision 1.54
diff -u -r1.54 example.conf
--- etc/example.conf	30 Nov 2003 16:36:05 -0000	1.54
+++ etc/example.conf	11 Jan 2004 23:10:00 -0000
@@ -53,6 +53,7 @@
 ## English	yes	no
 ## German	ja	nein
 ## Spanish	si	no
+## Polish	tak	nie
 ## Binary	1	0
 ##
 ## You can also use spaces and/or tabs.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040112/3d3d73e8/attachment.pgp>


More information about the MPlayer-dev-eng mailing list