[MPlayer-cvslog] CVS: main/libvo vo_ggi.c,1.33,1.34
Reimar Döffinger CVS
syncmail at mplayerhq.hu
Wed Apr 27 14:15:39 CEST 2005
CVS change done by Reimar Döffinger CVS
Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv1642
Modified Files:
vo_ggi.c
Log Message:
Make it possible to use a ggi device string that contains a ',' by writing
a '.' instead.
Index: vo_ggi.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_ggi.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- vo_ggi.c 17 Dec 2004 19:36:52 -0000 1.33
+++ vo_ggi.c 27 Apr 2005 12:15:37 -0000 1.34
@@ -381,7 +381,15 @@
}
if ((char *)arg)
+ {
+ int i = 0;
ggi_conf.driver = strdup(arg);
+ while (ggi_conf.driver[i]) {
+ if (ggi_conf.driver[i] == '.')
+ ggi_conf.driver[i] = ',';
+ i++;
+ }
+ }
else
ggi_conf.driver = NULL;
More information about the MPlayer-cvslog
mailing list