# HG changeset patch # User alex # Date 1016208807 0 # Node ID cf9c0a6f76d541daaf37dcc5a997e4ed629aea20 # Parent 140e64b969e26e3b08aae6fa47e827fee38a3cf1 added some ifdef's to make possible to compile with --disable-new-input --enable-gui diff -r 140e64b969e2 -r cf9c0a6f76d5 mplayer.c --- a/mplayer.c Fri Mar 15 16:10:29 2002 +0000 +++ b/mplayer.c Fri Mar 15 16:13:27 2002 +0000 @@ -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: