Commit 0bfeb8ce authored by Rémi Duraffort's avatar Rémi Duraffort

Missing var_DelCallback.

(cherry picked from commit 387ba25a)
Signed-off-by: default avatarRémi Duraffort <ivoire@videolan.org>
parent 6d8b6289
......@@ -514,6 +514,7 @@ static void CloseVideo( vlc_object_t *p_this )
vlc_mutex_destroy( &p_vout->p_sys->lock );
/* Make sure the wallpaper is restored */
var_DelCallback( p_vout, "directx-wallpaper", WallpaperCallback, NULL );
SwitchWallpaperMode( p_vout, false );
/* restore screensaver system settings */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment