summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-04-16 22:31:09 +0200
committerwm4 <wm4@nowhere>2015-04-16 22:31:09 +0200
commitbaaa27d6dbb22b5e4cb1bf06e5b4b8178849cba5 (patch)
treefdf159c0b4a30743cbae0a1a5dfcc71439eb68f4
parente0bb60a7085775b02b7c7ef33e07cfaeda1bff32 (diff)
downloadmpv-baaa27d6dbb22b5e4cb1bf06e5b4b8178849cba5.tar.bz2
mpv-baaa27d6dbb22b5e4cb1bf06e5b4b8178849cba5.tar.xz
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.
-rw-r--r--video/out/vo.c2
1 files changed, 1 insertions, 1 deletions
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);