]> git.sesse.net Git - vlc/blobdiff - modules/video_filter/transform.c
YUV 422 Packed motion detect (still kind of broken).
[vlc] / modules / video_filter / transform.c
index 3eb2b58eac3bb7f7e28a286233e5a5d386f6b4ec..40eab9db004f89a6dfb51a95acbd4f3e87abe5b6 100644 (file)
@@ -29,7 +29,7 @@
 # include "config.h"
 #endif
 
-#include <vlc/vlc.h>
+#include <vlc_common.h>
 #include <vlc_plugin.h>
 #include <vlc_vout.h>
 
@@ -300,7 +300,7 @@ static void Destroy( vlc_object_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 );
+        vlc_object_release( p_vout->p_sys->p_vout );
     }
 
     DEL_PARENT_CALLBACKS( SendEventsToChild );