[vlc-commits] commit: Disable screensaver preemption before	destroying the module ( =?UTF-8?Q?R=C3=A9mi=20Denis=2DCourmont=20?=)
    git at videolan.org 
    git at videolan.org
       
    Sun Nov 21 18:13:37 CET 2010
    
    
  
vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Nov 21 19:12:32 2010 +0200| [577e2a2b2df314ad60957773ef3a36530d0de30e] | committer: Rémi Denis-Courmont 
Disable screensaver preemption before destroying the module
(cherry picked from commit 79bb2f751a8a4a90d56d728828a82a462298bce7)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=577e2a2b2df314ad60957773ef3a36530d0de30e
---
 src/video_output/window.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/video_output/window.c b/src/video_output/window.c
index a8ef797..0350caf 100644
--- a/src/video_output/window.c
+++ b/src/video_output/window.c
@@ -99,7 +99,10 @@ void vout_window_Delete(vout_window_t *window)
 
     window_t *w = (window_t *)window;
     if (w->inhibit)
+    {
+        vlc_inhibit_Set (w->inhibit, false);
         vlc_inhibit_Destroy (w->inhibit);
+    }
 
     module_unneed(window, w->module);
 
    
    
More information about the vlc-commits
mailing list