--- main/Gui/mplayer/play.c 2004-03-26 00:49:48.000000000 +0300 +++ main.dev/Gui/mplayer/play.c 2004-11-09 18:00:05.905200400 +0300 @@ -124,13 +124,13 @@ void mplPause( void ) { if ( !guiIntfStruct.Playing ) return; - if ( guiIntfStruct.Playing == 1 ) + if ( guiIntfStruct.Playing == 1 || guiIntfStruct.Playing == 2 ) { mp_cmd_t * cmd = (mp_cmd_t *)calloc( 1,sizeof( *cmd ) ); cmd->id=MP_CMD_PAUSE; cmd->name=strdup("pause"); mp_input_queue_cmd(cmd); - } else guiIntfStruct.Playing=1; + } } void mplState( void ) --- main/mplayer.c 2004-11-09 17:49:19.000000000 +0300 +++ main.dev/mplayer.c 2004-11-09 18:00:05.907200096 +0300 @@ -2594,7 +2594,7 @@ if(use_gui){ guiEventHandling(); guiGetEvent( guiReDraw,NULL ); - if(guiIntfStruct.Playing!=2 || (rel_seek_secs || abs_seek_pos)) break; + if(rel_seek_secs || abs_seek_pos) break; } #endif #ifdef HAVE_MENU @@ -2606,6 +2606,9 @@ if (cmd && cmd->id == MP_CMD_PAUSE) { cmd = mp_input_get_cmd(0,1,0); mp_cmd_free(cmd); +#ifdef HAVE_NEW_GUI + if (use_gui) guiIntfStruct.Playing = 1; +#endif } osd_function=OSD_PLAY; if (audio_out && sh_audio)