[Mplayer-cvslog] CVS: main cfgparser.c,1.63,1.64
Alex Beregszaszi
alex at mplayerhq.hu
Sun Jun 22 01:39:51 CEST 2003
Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv7214
Modified Files:
cfgparser.c
Log Message:
backport PRINT_INDIRECT to old-config parser (new config fails on some 64bit systems - should be fixed) and some minor corrections
Index: cfgparser.c
===================================================================
RCS file: /cvsroot/mplayer/main/cfgparser.c,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -r1.63 -r1.64
--- cfgparser.c 3 Apr 2003 12:41:31 -0000 1.63
+++ cfgparser.c 21 Jun 2003 23:39:32 -0000 1.64
@@ -72,6 +72,7 @@
switch(conf->type) {
case CONF_TYPE_PRINT :
+ case CONF_TYPE_PRINT_INDIRECT :
case CONF_TYPE_SUBCONFIG :
return;
default :
@@ -761,6 +762,9 @@
case CONF_TYPE_PRINT:
mp_msg(MSGT_CFGPARSER, MSGL_INFO, "%s", (char *) conf[i].p);
exit(1);
+ case CONF_TYPE_PRINT_INDIRECT:
+ mp_msg(MSGT_CFGPARSER, MSGL_INFO, "%s", *(char **) conf[i].p);
+ exit(1);
case CONF_TYPE_POSITION:
if (param == NULL)
goto err_missing_param;
@@ -1490,6 +1494,7 @@
type = "Function";
break;
case CONF_TYPE_PRINT:
+ case CONF_TYPE_PRINT_INDIRECT:
type = "Print";
break;
case CONF_TYPE_STRING_LIST:
More information about the MPlayer-cvslog
mailing list