mirror of
https://github.com/mpv-player/mpv
synced 2024-12-29 10:32:15 +00:00
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
This commit is contained in:
parent
723ea9409b
commit
a750501c9f
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user