[MPlayer-cvslog] r36990 - trunk/gui/ui/actions.c

ib subversion at mplayerhq.hu
Mon Mar 10 19:03:55 CET 2014


Author: ib
Date: Mon Mar 10 19:03:55 2014
New Revision: 36990

Log:
Directly call mplayer_put_key() instead of vo_x11_putkey().

Modified:
   trunk/gui/ui/actions.c

Modified: trunk/gui/ui/actions.c
==============================================================================
--- trunk/gui/ui/actions.c	Mon Mar 10 18:35:07 2014	(r36989)
+++ trunk/gui/ui/actions.c	Mon Mar 10 19:03:55 2014	(r36990)
@@ -45,14 +45,14 @@
 #include "m_property.h"
 #include "mixer.h"
 #include "mp_core.h"
+#include "mp_fifo.h"
 #include "mp_msg.h"
 #include "mpcommon.h"
 #include "mplayer.h"
 #include "input/input.h"
 #include "libmpdemux/demuxer.h"
 #include "libvo/video_out.h"
-#include "libvo/wskeys.h"
-#include "libvo/x11_common.h"
+#include "osdep/keycodes.h"
 #include "osdep/timer.h"
 #include "stream/stream.h"
 #include "sub/sub.h"
@@ -310,11 +310,11 @@ play:
         break;
 
     case evIncVolume:
-        vo_x11_putkey(wsGrayMul);
+        mplayer_put_key(KEY_VOLUME_UP);
         break;
 
     case evDecVolume:
-        vo_x11_putkey(wsGrayDiv);
+        mplayer_put_key(KEY_VOLUME_DOWN);
         break;
 
     case evMute:


More information about the MPlayer-cvslog mailing list