From baaa27d6dbb22b5e4cb1bf06e5b4b8178849cba5 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 16 Apr 2015 22:31:09 +0200 Subject: vo: fix non-sense in init code I assume this was intended to generate an initial change event in order to make the user read the initial values. --- video/out/vo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video/out/vo.c b/video/out/vo.c index 3a193c38e8..70f682263e 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -755,7 +755,7 @@ static void *vo_thread(void *ptr) return NULL; update_display_fps(vo); - vo_event(vo, VO_WIN_STATE_MINIMIZED); + vo_event(vo, VO_EVENT_WIN_STATE); while (1) { mp_dispatch_queue_process(vo->in->dispatch, 0); -- cgit v1.2.3