Missing var_DelCallback.
authorRémi Duraffort <ivoire@videolan.org>
Thu, 25 Jun 2009 11:58:02 +0000 (13:58 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Thu, 25 Jun 2009 13:18:00 +0000 (15:18 +0200)
modules/video_output/msw/directx.c

index 9494de9..c236617 100644 (file)
@@ -433,6 +433,7 @@ static void CloseVideo( vlc_object_t *p_this )
     StopEventThread( p_vout );
 
     /* Make sure the wallpaper is restored */
+    var_DelCallback( p_vout, "directx-wallpaper", WallpaperCallback, NULL );
     SwitchWallpaperMode( p_vout, false );
 
     RestoreScreensaver( p_vout );