[vlc-devel] commit: Useless attach/detach in msw. (Laurent Aimar )

git version control git at videolan.org
Mon Sep 14 20:20:03 CEST 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Tue Sep  8 20:54:56 2009 +0200| [c44e1eff71035d0a3e57780bd02aab919716adc2] | committer: Laurent Aimar 

Useless attach/detach in msw.

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

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

diff --git a/modules/video_output/msw/events.c b/modules/video_output/msw/events.c
index 9dfdab6..07c9aa7 100644
--- a/modules/video_output/msw/events.c
+++ b/modules/video_output/msw/events.c
@@ -910,8 +910,6 @@ int CreateEventThread( vout_thread_t *p_vout )
         return 0;
     }
 
-    vlc_object_attach( p_event, p_vout );
-
     msg_Dbg( p_vout, "Vout EventThread running" );
     return 1;
 }
@@ -929,7 +927,6 @@ void StopEventThread( vout_thread_t *p_vout )
     if( p_vout->p_sys->p_event )
     {
         event_thread_t *p_event = p_vout->p_sys->p_event;
-        vlc_object_detach( p_event );
 
         /* Kill Vout EventThread */
         vlc_object_kill( p_event );




More information about the vlc-devel mailing list