summaryrefslogtreecommitdiffstats
path: root/video/out/vo.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo.c')
-rw-r--r--video/out/vo.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/video/out/vo.c b/video/out/vo.c
index 753feaefeb..25b9375ad6 100644
--- a/video/out/vo.c
+++ b/video/out/vo.c
@@ -235,7 +235,9 @@ void vo_check_events(struct vo *vo)
vo->registered_fd = -1;
return;
}
- vo->driver->check_events(vo);
+ if (vo->driver->check_events)
+ vo->driver->check_events(vo);
+ vo_control(vo, VOCTRL_CHECK_EVENTS, NULL);
}
// Return the amount of time vo_check_events() should be called in milliseconds.