Mercurial > mplayer.hg
diff mplayer.c @ 5091:cf9c0a6f76d5
added some ifdef's to make possible to compile with --disable-new-input --enable-gui
author | alex |
---|---|
date | Fri, 15 Mar 2002 16:13:27 +0000 |
parents | 37e15b16e38d |
children | 40d2bcb1b671 |
line wrap: on
line diff
--- 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: