]> git.sesse.net Git - vlc/commitdiff
Useless attach/detach in msw.
authorLaurent Aimar <fenrir@videolan.org>
Tue, 8 Sep 2009 18:54:56 +0000 (20:54 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Mon, 14 Sep 2009 18:18:42 +0000 (20:18 +0200)
modules/video_output/msw/events.c

index 9dfdab648b76fecb97b083d27313ec3c48cdb213..07c9aa73d28521f9e591e513b7c9363c7215a5c2 100644 (file)
@@ -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 );