[prev in list] [next in list] [prev in thread] [next in thread]
List: mplayer-dev-eng
Subject: [MPlayer-dev-eng] Mplayer -slave mode
From: Jesse Zamora <xtremek2008 () aim ! com>
Date: 2009-01-27 12:12:06
Message-ID: 1233058326.6758.11.camel () jz-henrietta-ubuntu86
[Download RAW message or body]
Hello everyone,
I fixed a little bug in mplayer where while in -slave mode, it still
gets key events from the user. So, this patch fixes that. I've tested it
for a long time with my GUI and there are no problems.
Thanks,
Xtreme Kommander
["mplayer_patch.diff" (mplayer_patch.diff)]
Index: mplayer.c
===================================================================
--- mplayer.c (revision 28334)
+++ mplayer.c (working copy)
@@ -2860,7 +2860,9 @@
// Init input system
current_module = "init_input";
mp_input_init(use_gui);
+if (!slave_mode)
mp_input_add_key_fd(-1,0,mplayer_get_key,NULL);
+
if(slave_mode)
mp_input_add_cmd_fd(0,USE_SELECT,MP_INPUT_SLAVE_CMD_FUNC,NULL);
else if(!noconsolecontrols)
_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic