* crop.c : Crop video plugin for vlc
*****************************************************************************
* Copyright (C) 2002, 2003 VideoLAN
- * $Id: crop.c,v 1.8 2003/02/20 01:52:46 sigmunau Exp $
+ * $Id: crop.c,v 1.9 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 );