]> git.sesse.net Git - vlc/blobdiff - modules/video_filter/crop.c
* modules/video_filter/clone.c: new --clone-vout-list config option, courtesy of...
[vlc] / modules / video_filter / crop.c
index 90ebb9fbba52e3cd9f491cbf8095d56045674684..25818a8692e115e39983926905d03f50c3f211e1 100644 (file)
@@ -2,7 +2,7 @@
  * 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>
  *
@@ -276,6 +276,7 @@ static void Destroy( vlc_object_t *p_this )
     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 );