[vlc-devel] commit: Fixed opencv video filter wrapper compilation. (Laurent Aimar )

git version control git at videolan.org
Sun Apr 26 15:32:50 CEST 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Apr 26 15:30:09 2009 +0200| [2ae89ba1c748a12dcdcfef87dbc885d942596ffd] | committer: Laurent Aimar 

Fixed opencv video filter wrapper compilation.

Based on an initial patch from Nicolas Chauvet.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2ae89ba1c748a12dcdcfef87dbc885d942596ffd
---

 modules/video_filter/opencv_wrapper.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/video_filter/opencv_wrapper.c b/modules/video_filter/opencv_wrapper.c
index 1ccbaae..ca48f23 100644
--- a/modules/video_filter/opencv_wrapper.c
+++ b/modules/video_filter/opencv_wrapper.c
@@ -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 );




More information about the vlc-devel mailing list