diff options
Diffstat (limited to 'input')
-rw-r--r-- | input/input.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/input/input.c b/input/input.c index 13acc9e994..6a3a174bcd 100644 --- a/input/input.c +++ b/input/input.c @@ -1511,6 +1511,9 @@ void mp_input_src_feed_cmd_text(struct mp_input_src *src, char *buf, size_t len) void mp_input_set_repeat_info(struct input_ctx *ictx, int rate, int delay) { + input_lock(ictx); ictx->ar_rate = rate; ictx->ar_delay = delay; + input_unlock(ictx); } + |