changeset 1784:e9ea2e9cf854

key handling fix
author pontscho
date Thu, 30 Aug 2001 20:51:35 +0000
parents beec84c3d830
children 5bf17e98893a
files Gui/mplayer/mw.h Gui/mplayer/play.c
diffstat 2 files changed, 1 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/Gui/mplayer/mw.h	Thu Aug 30 20:13:14 2001 +0000
+++ b/Gui/mplayer/mw.h	Thu Aug 30 20:51:35 2001 +0000
@@ -539,9 +539,6 @@
    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 @@
    case wsS:         msg=evStop; break;
    case wsp:
    case wsP:         msg=evPlayList; break;
+   default:          mplayer_put_key( Key ); return;
   }
  if ( ( msg != evNone )&&( Type == wsKeyPressed ) )
   {
--- a/Gui/mplayer/play.c	Thu Aug 30 20:13:14 2001 +0000
+++ b/Gui/mplayer/play.c	Thu Aug 30 20:51:35 2001 +0000
@@ -125,10 +125,3 @@
 // ---
 }
 
-void mplIncAudioBufDelay( void )
-{
-}
-
-void mplDecAudioBufDelay( void )
-{
-}