]> git.sesse.net Git - vlc/commitdiff
Fixed opencv video filter wrapper compilation.
authorLaurent Aimar <fenrir@videolan.org>
Sun, 26 Apr 2009 13:30:09 +0000 (15:30 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Sun, 26 Apr 2009 13:32:11 +0000 (15:32 +0200)
Based on an initial patch from Nicolas Chauvet.

modules/video_filter/opencv_wrapper.c

index 1ccbaae89e4170856ad579d9f87e2076889be971..ca48f23c5eaf171027ad42e2e7a786c5718a1633 100644 (file)
@@ -356,7 +356,7 @@ static int Init( vout_thread_t *p_vout )
 
     vout_filter_AllocateDirectBuffers( p_vout, VOUT_MAX_PICTURES );
 
-    vout_filter_AddChild( p_vout, p_vout->p_sys->p_vout, NULL, NULL, true );
+    vout_filter_AddChild( p_vout, p_vout->p_sys->p_vout, NULL );
 
     return VLC_SUCCESS;
 }
@@ -368,7 +368,7 @@ static void End( vout_thread_t *p_vout )
 {
     vout_sys_t *p_sys = p_vout->p_sys;
 
-    vout_filter_DelChild( p_vout, p_sys->p_vout, NULL, NULL, true );
+    vout_filter_DelChild( p_vout, p_sys->p_vout, NULL );
     vout_CloseAndRelease( p_sys->p_vout );
 
     vout_filter_ReleaseDirectBuffers( p_vout );