From a750501c9f675df88b35ab0c9cdeb066070ba675 Mon Sep 17 00:00:00 2001 From: alex Date: Fri, 15 Mar 2002 16:13:27 +0000 Subject: [PATCH] added some ifdef's to make possible to compile with --disable-new-input --enable-gui git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5092 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mplayer.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mplayer.c b/mplayer.c index 9f10a63b0f..55673f9348 100644 --- a/mplayer.c +++ b/mplayer.c @@ -763,10 +763,14 @@ if(!use_stdin && !slave_mode){ #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: