]> git.sesse.net Git - vlc/blobdiff - modules/video_filter/invert.c
* modules/video_filter/clone.c: new --clone-vout-list config option, courtesy of...
[vlc] / modules / video_filter / invert.c
index 99c5f34012d91f94d6d274fbc1b86c8ae1fcdb49..67d3a390bfbcaf6456e2f27fc3ba8046653ad73f 100644 (file)
@@ -2,7 +2,7 @@
  * 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>
  *
@@ -155,6 +155,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 );