[MPlayer-cvslog] r34360 - trunk/libvo/vo_caca.c

reimar subversion at mplayerhq.hu
Thu Nov 24 00:59:01 CET 2011


Author: reimar
Date: Thu Nov 24 00:59:01 2011
New Revision: 34360

Log:
caca: for ordinary keys, send key events on press instead of release.

This is consistent with how other vos behave.

Patch by Paul B. Mahol [onemda gmail com].

Modified:
   trunk/libvo/vo_caca.c

Modified: trunk/libvo/vo_caca.c
==============================================================================
--- trunk/libvo/vo_caca.c	Thu Nov 24 00:57:37 2011	(r34359)
+++ trunk/libvo/vo_caca.c	Thu Nov 24 00:59:01 2011	(r34360)
@@ -243,7 +243,7 @@ static void check_events(void)
         if (!vo_nomouse_input)
             mplayer_put_key(MOUSE_BTN0 + cev.data.mouse.button - 1);
         break;
-    case CACA_EVENT_KEY_RELEASE:
+    case CACA_EVENT_KEY_PRESS:
     {
         int key = cev.data.key.ch;
         const char *msg_name;


More information about the MPlayer-cvslog mailing list