comparison 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
comparison
equal deleted inserted replaced
5090:140e64b969e2 5091:cf9c0a6f76d5
761 goto play_dvd; 761 goto play_dvd;
762 } 762 }
763 #endif 763 #endif
764 764
765 while(guiIntfStruct.Playing!=1){ 765 while(guiIntfStruct.Playing!=1){
766 #ifdef HAVE_NEW_INPUT
766 mp_cmd_t* cmd; 767 mp_cmd_t* cmd;
768 #endif
767 usleep(20000); 769 usleep(20000);
768 guiEventHandling(); 770 guiEventHandling();
771 #ifdef HAVE_NEW_INPUT
769 if ( (cmd = mp_input_get_cmd(0,0)) != NULL) guiGetEvent( guiIEvent,(char *)cmd->id ); 772 if ( (cmd = mp_input_get_cmd(0,0)) != NULL) guiGetEvent( guiIEvent,(char *)cmd->id );
773 #endif
770 } 774 }
771 775
772 play_dvd: 776 play_dvd:
773 777
774 #ifdef USE_SUB 778 #ifdef USE_SUB