mirror of
https://github.com/mpv-player/mpv
synced 2024-12-23 23:32:26 +00:00
input: make ar_rate and ar_delay fields of input_ctx signed
ar_rate is set to -1 when autorepeat is disabled; there is no reason for ar_delay to stay unsigned.
This commit is contained in:
parent
8ee1bcf1fa
commit
3307af43c5
@ -134,8 +134,8 @@ struct input_ctx {
|
||||
int64_t last_ar;
|
||||
|
||||
// Autorepeat config
|
||||
unsigned int ar_delay;
|
||||
unsigned int ar_rate;
|
||||
int ar_delay;
|
||||
int ar_rate;
|
||||
// Maximum number of queued commands from keypresses (limit to avoid
|
||||
// repeated slow commands piling up)
|
||||
int key_fifo_size;
|
||||
|
Loading…
Reference in New Issue
Block a user