[Mplayer-cvslog] CVS: main mplayer.c,1.429,1.430

Alex Beregszaszi alex at mplayer.dev.hu
Fri Mar 15 17:13:29 CET 2002


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv19400

Modified Files:
	mplayer.c 
Log Message:
added some ifdef's to make possible to compile with --disable-new-input --enable-gui

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.429
retrieving revision 1.430
diff -u -r1.429 -r1.430
--- mplayer.c	14 Mar 2002 23:28:39 -0000	1.429
+++ mplayer.c	15 Mar 2002 16:13:27 -0000	1.430
@@ -763,10 +763,14 @@
 #endif
 
       while(guiIntfStruct.Playing!=1){
+#ifdef HAVE_NEW_INPUT
         mp_cmd_t* cmd;                                                                                   
+#endif
 	usleep(20000);
 	guiEventHandling();
+#ifdef HAVE_NEW_INPUT
 	if ( (cmd = mp_input_get_cmd(0,0)) != NULL) guiGetEvent( guiIEvent,(char *)cmd->id );
+#endif
       }
 
 play_dvd:




More information about the MPlayer-cvslog mailing list