summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
Diffstat (limited to 'video')
-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 7db3c8dd2f..8556b6470c 100644
--- a/video/out/vo.c
+++ b/video/out/vo.c
@@ -449,7 +449,9 @@ void vo_flip_page(struct vo *vo, int64_t pts_us, int duration)
void vo_check_events(struct vo *vo)
{
- vo_control(vo, VOCTRL_CHECK_EVENTS, NULL);
+ if (vo->config_ok) {
+ vo_control(vo, VOCTRL_CHECK_EVENTS, NULL);
+ }
}
void vo_seek_reset(struct vo *vo)