[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:15 CET 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Nov 21 19:12:32 2010 +0200| [79bb2f751a8a4a90d56d728828a82a462298bce7] | committer: Rémi Denis-Courmont
Disable screensaver preemption before destroying the module
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=79bb2f751a8a4a90d56d728828a82a462298bce7
---
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 e5f4c25..51f2ce5 100644
--- a/src/video_output/window.c
+++ b/src/video_output/window.c
@@ -106,7 +106,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