[vlc-devel] [PATCH 01/13] vout: fix typo

Thomas Guillem thomas at gllm.fr
Mon Apr 15 15:50:46 CEST 2019


This caused the window to be never disabled from vout_Stop().
---
 src/video_output/video_output.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index d38b23c6ab..9604522825 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -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;
     }
-- 
2.20.1



More information about the vlc-devel mailing list