[vlc-commits] vout: fix typo

Thomas Guillem git at videolan.org
Tue Apr 16 11:55:53 CEST 2019


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Apr 15 15:19:43 2019 +0200| [1f6701611658685b56fad948d43ff9a43594302e] | committer: Thomas Guillem

vout: fix typo

This caused the window to be never disabled from vout_Stop().

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1f6701611658685b56fad948d43ff9a43594302e
---

 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;
     }



More information about the vlc-commits mailing list