summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
Diffstat (limited to 'video')
-rw-r--r--video/out/vo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/vo.c b/video/out/vo.c
index 8bc4633ecc..c66478bc6d 100644
--- a/video/out/vo.c
+++ b/video/out/vo.c
@@ -434,8 +434,8 @@ int vo_reconfig(struct vo *vo, struct mp_image_params *params, int flags)
if (vo->config_ok)
vo->params = talloc_memdup(vo, &p2, sizeof(p2));
if (vo->registered_fd == -1 && vo->event_fd != -1 && vo->config_ok) {
- mp_input_add_key_fd(vo->input_ctx, vo->event_fd, 1, event_fd_callback,
- NULL, vo);
+ mp_input_add_fd(vo->input_ctx, vo->event_fd, 1, NULL, event_fd_callback,
+ NULL, vo);
vo->registered_fd = vo->event_fd;
}
vo->frame_loaded = false;