summaryrefslogtreecommitdiffstats
path: root/input/input.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-04-25 21:47:43 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-04-25 22:48:18 +0300
commit4cb23ad350f566460d96bf24fcc1949d57a0701f (patch)
treefa75aa9e5e2fb2327ba8ec4b7c04c43447f533d0 /input/input.h
parent1393793cd3a90b2ef7ca049dfc693692d3749d94 (diff)
downloadmpv-4cb23ad350f566460d96bf24fcc1949d57a0701f.tar.bz2
mpv-4cb23ad350f566460d96bf24fcc1949d57a0701f.tar.xz
input: remove unused "paused" arguments from some functions
Diffstat (limited to 'input/input.h')
-rw-r--r--input/input.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/input/input.h b/input/input.h
index 82718b9b29..b992b13d1c 100644
--- a/input/input.h
+++ b/input/input.h
@@ -219,7 +219,7 @@ typedef void (*mp_close_func_t)(int fd);
// Set this to grab all incoming key codes
extern int (*mp_input_key_cb)(int code);
// Should return 1 if the command was processed
-typedef int (*mp_input_cmd_filter)(mp_cmd_t* cmd, int paused, void* ctx);
+typedef int (*mp_input_cmd_filter)(mp_cmd_t *cmd, void *ctx);
// This function adds a new key driver.
// The first arg is a file descriptor (use a negative value if you don't use any fd)
@@ -254,7 +254,7 @@ int mp_input_queue_cmd(struct input_ctx *ictx, mp_cmd_t* cmd);
// This function retrieves the next available command waiting no more than time msec.
// If pause is true, the next input will always return a pause command.
mp_cmd_t*
-mp_input_get_cmd(struct input_ctx *ictx, int time, int paused, int peek_only);
+mp_input_get_cmd(struct input_ctx *ictx, int time, int peek_only);
mp_cmd_t*
mp_input_parse_cmd(char* str);