diff options
author | wm4 <wm4@nowhere> | 2012-10-13 21:09:42 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-10-14 22:28:51 +0200 |
commit | ad5bc380e2605108398d3815ad10adcbebf3913b (patch) | |
tree | 1960f9297ceb01f2bf016d43a88cd6b800e8619f /libvo | |
parent | 0ff7dd992fb06fa8a5cba0a895717787a615e7bb (diff) | |
download | mpv-ad5bc380e2605108398d3815ad10adcbebf3913b.tar.bz2 mpv-ad5bc380e2605108398d3815ad10adcbebf3913b.tar.xz |
input: track location info for input commands
If parsing a command fails, its location is printed. The location is
the path to the input.conf, and the line number of the key binding and
the associated input command.
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/video_out.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/video_out.c b/libvo/video_out.c index db56828e1d..7e1360ecf5 100644 --- a/libvo/video_out.c +++ b/libvo/video_out.c @@ -509,5 +509,5 @@ void vo_mouse_movement(struct vo *vo, int posx, int posy) if (!enable_mouse_movements) return; snprintf(cmd_str, sizeof(cmd_str), "set_mouse_pos %i %i", posx, posy); - mp_input_queue_cmd(vo->input_ctx, mp_input_parse_cmd(bstr0(cmd_str))); + mp_input_queue_cmd(vo->input_ctx, mp_input_parse_cmd(bstr0(cmd_str), "")); } |