* invert.c : Invert video plugin for vlc
*****************************************************************************
* Copyright (C) 2000, 2001, 2002, 2003 VideoLAN
- * $Id: invert.c,v 1.5 2003/01/17 16:18:03 sam Exp $
+ * $Id: invert.c,v 1.6 2003/03/18 23:30:28 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
vout_thread_t *p_vout = (vout_thread_t *)p_this;
DEL_CALLBACKS( p_vout->p_sys->p_vout, SendEvents );
+ vlc_object_detach( p_vout->p_sys->p_vout );
vout_Destroy( p_vout->p_sys->p_vout );
free( p_vout->p_sys );