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

git version control git at videolan.org
Thu Jun 25 17:51:53 CEST 2009


vlc | branch: 1.0-bugfix | Rémi Duraffort <ivoire at videolan.org> | Thu Jun 25 13:58:02 2009 +0200| [0bfeb8ce1c721db7dd30e07b7e41de4bc15d2bd5] | committer: Rémi Duraffort 

Missing var_DelCallback.
(cherry picked from commit 387ba25a79a1b3a3703e552af74da2edea18a0c0)

Signed-off-by: Rémi Duraffort <ivoire at videolan.org>

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

 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 3d2ba7c..cbb7eaf 100644
--- a/modules/video_output/msw/directx.c
+++ b/modules/video_output/msw/directx.c
@@ -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 */




More information about the vlc-devel mailing list