diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-03-15 16:13:27 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-03-15 16:13:27 +0000 |
commit | a750501c9f675df88b35ab0c9cdeb066070ba675 (patch) | |
tree | 8fb67f5e6ff61ad8532ba01e4fc30723ee448f39 /mplayer.c | |
parent | 723ea9409bd2e82edfde4eb7c760839e0d4adff7 (diff) | |
download | mpv-a750501c9f675df88b35ab0c9cdeb066070ba675.tar.bz2 mpv-a750501c9f675df88b35ab0c9cdeb066070ba675.tar.xz |
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
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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: |