[vlc-devel] commit: Missing var_DelCallback. ( Rémi Duraffort )

git version control git at videolan.org
Thu Jun 25 15:23:53 CEST 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Jun 25 13:58:02 2009 +0200| [387ba25a79a1b3a3703e552af74da2edea18a0c0] | committer: Rémi Duraffort 

Missing var_DelCallback.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=387ba25a79a1b3a3703e552af74da2edea18a0c0
---

 modules/video_output/msw/directx.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/video_output/msw/directx.c b/modules/video_output/msw/directx.c
index 9494de9..c236617 100644
--- a/modules/video_output/msw/directx.c
+++ b/modules/video_output/msw/directx.c
@@ -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 );




More information about the vlc-devel mailing list