[vlc-commits] Removed variable callback when needed in the projectm module.
Laurent Aimar
git at videolan.org
Fri Oct 7 22:26:24 CEST 2011
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Fri Oct 7 22:03:32 2011 +0200| [78f2a6f196f9a1061699be134459a06df7f1802e] | committer: Laurent Aimar
Removed variable callback when needed in the projectm module.
It fixes #5720.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=78f2a6f196f9a1061699be134459a06df7f1802e
---
modules/visualization/projectm.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/visualization/projectm.cpp b/modules/visualization/projectm.cpp
index bcdcb23..9f8835c 100644
--- a/modules/visualization/projectm.cpp
+++ b/modules/visualization/projectm.cpp
@@ -349,6 +349,7 @@ static void *Thread( void *p_data )
gl = vout_GetDisplayOpengl( p_sys->p_vd );
if( !gl )
{
+ var_DelCallback( p_sys->p_vout, "fullscreen", VoutCallback, p_sys->p_vd );
vout_DeleteDisplay( p_sys->p_vd, NULL );
vlc_object_release( p_sys->p_vout );
goto error;
@@ -441,6 +442,7 @@ static void *Thread( void *p_data )
vlc_mutex_unlock( &p_sys->lock );
delete p_projectm;
+ var_DelCallback( p_sys->p_vout, "fullscreen", VoutCallback, p_sys->p_vd );
vout_DeleteDisplay( p_sys->p_vd, NULL );
vlc_object_release( p_sys->p_vout );
if (loc != (locale_t)0)
More information about the vlc-commits
mailing list