summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-01-21 11:10:52 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-01-21 11:10:52 +0000
commitc300337919c98b15cb534191a62196e7d340f319 (patch)
tree479988e58b5e888ce1ddc04f2b5b9f702c9ce424
parentff32ae1051778bb8a1904ab4f93d304208c666eb (diff)
downloadmpv-c300337919c98b15cb534191a62196e7d340f319.tar.bz2
mpv-c300337919c98b15cb534191a62196e7d340f319.tar.xz
Add ignore key bind
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21983 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--input/input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/input/input.c b/input/input.c
index a8cf7f7e8f..23346bcd49 100644
--- a/input/input.c
+++ b/input/input.c
@@ -917,6 +917,7 @@ mp_input_get_cmd_from_keys(int n,int* keys, int paused) {
mp_msg(MSGT_INPUT,MSGL_WARN," \n");
return NULL;
}
+ if (strcmp(cmd, "ignore") == 0) return NULL;
ret = mp_input_parse_cmd(cmd);
if(!ret) {
mp_msg(MSGT_INPUT,MSGL_ERR,MSGTR_INPUT_INPUT_ErrInvalidCommandForKey,mp_input_get_key_name(key_down[0]));