[vlc-devel] commit: opengl: No need to detach the vout from here. (Pierre d'Herbemont )

git version control git at videolan.org
Sat Jul 5 01:44:06 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Fri Jul  4 13:16:13 2008 +0200| [3c4e97e35871880fdf5b18a7b344de614702b09c]

opengl: No need to detach the vout from here.

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

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

diff --git a/modules/video_output/opengl.c b/modules/video_output/opengl.c
index d9eaac1..32d56e2 100644
--- a/modules/video_output/opengl.c
+++ b/modules/video_output/opengl.c
@@ -566,7 +566,6 @@ static void DestroyVout( vlc_object_t *p_this )
     vout_sys_t *p_sys = p_vout->p_sys;
 
     module_Unneed( p_sys->p_vout, p_sys->p_vout->p_module );
-    vlc_object_detach( p_sys->p_vout );
     vlc_object_release( p_sys->p_vout );
 
     free( p_sys );




More information about the vlc-devel mailing list