vo: do not check for events on unconfigured VO

fixes #741
This commit is contained in:
Martin Herkt committed 2014-04-25 05:03:24 +02:00
1 parent 26ce2e750d
commit 89a19aafd9
1 file changed
+3 -1
+3 -1
View File
@@ -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)