vout: fix typo
authorThomas Guillem <thomas@gllm.fr>
Mon, 15 Apr 2019 13:19:43 +0000 (15:19 +0200)
committerThomas Guillem <thomas@gllm.fr>
Tue, 16 Apr 2019 09:40:39 +0000 (11:40 +0200)
This caused the window to be never disabled from vout_Stop().

src/video_output/video_output.c

index d38b23c..9604522 100644 (file)
@@ -1669,7 +1669,7 @@ void vout_Stop(vout_thread_t *vout)
     vout_StopDisplay(vout);
 
     vlc_mutex_lock(&sys->window_lock);
-    if (!sys->window_active) {
+    if (sys->window_active) {
         vout_window_Disable(sys->display_cfg.window);
         sys->window_active = false;
     }