Commit c44e1eff authored by Laurent Aimar's avatar Laurent Aimar

Useless attach/detach in msw.

parent b9c3f900
...@@ -910,8 +910,6 @@ int CreateEventThread( vout_thread_t *p_vout ) ...@@ -910,8 +910,6 @@ int CreateEventThread( vout_thread_t *p_vout )
return 0; return 0;
} }
vlc_object_attach( p_event, p_vout );
msg_Dbg( p_vout, "Vout EventThread running" ); msg_Dbg( p_vout, "Vout EventThread running" );
return 1; return 1;
} }
...@@ -929,7 +927,6 @@ void StopEventThread( vout_thread_t *p_vout ) ...@@ -929,7 +927,6 @@ void StopEventThread( vout_thread_t *p_vout )
if( p_vout->p_sys->p_event ) if( p_vout->p_sys->p_event )
{ {
event_thread_t *p_event = 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 */ /* Kill Vout EventThread */
vlc_object_kill( p_event ); vlc_object_kill( p_event );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment