vlc | branch: master | Rémi Denis-Courmont <r...@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); _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org http://mailman.videolan.org/listinfo/vlc-commits