From 6d74aa879dcbfb09b41654b91c8d37ec3d3a5f1a Mon Sep 17 00:00:00 2001 From: pontscho Date: Thu, 30 Aug 2001 20:51:35 +0000 Subject: [PATCH] key handling fix git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1785 b3059339-0415-0410-9bf9-f77b7e298cf2 --- Gui/mplayer/mw.h | 4 +--- Gui/mplayer/play.c | 7 ------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/Gui/mplayer/mw.h b/Gui/mplayer/mw.h index af358d7694..d482f5b154 100644 --- a/Gui/mplayer/mw.h +++ b/Gui/mplayer/mw.h @@ -539,9 +539,6 @@ void mplMainKeyHandle( int State,int Type,int Key ) case wsGrayMul: msg=evIncVolume; break; case wsGrayDiv: msg=evDecVolume; break; - case wsGrayPlus: msg=evIncAudioBufDelay; break; - case wsGrayMinus: msg=evDecAudioBufDelay; break; - case wsEnter: msg=evPlay; break; case wsSpace: msg=evPause; break; case wsa: @@ -560,6 +557,7 @@ void mplMainKeyHandle( int State,int Type,int Key ) case wsS: msg=evStop; break; case wsp: case wsP: msg=evPlayList; break; + default: mplayer_put_key( Key ); return; } if ( ( msg != evNone )&&( Type == wsKeyPressed ) ) { diff --git a/Gui/mplayer/play.c b/Gui/mplayer/play.c index 8a64e2db3a..11a45ef4fa 100644 --- a/Gui/mplayer/play.c +++ b/Gui/mplayer/play.c @@ -125,10 +125,3 @@ void mplAbsSeek( float s ) // --- } -void mplIncAudioBufDelay( void ) -{ -} - -void mplDecAudioBufDelay( void ) -{ -}