[vlc-commits] OpenCV Example: define a default parameter, since we are not C++

Jean-Baptiste Kempf git at videolan.org
Sun Aug 12 00:57:21 CEST 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Aug 12 00:52:53 2012 +0200| [8ffa5c9fe5ac3fccabfdf9324f28ed654130f73d] | committer: Jean-Baptiste Kempf

OpenCV Example: define a default parameter, since we are not C++

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

 modules/video_filter/opencv_example.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_filter/opencv_example.c b/modules/video_filter/opencv_example.c
index bec3997..d9cefbc 100644
--- a/modules/video_filter/opencv_example.c
+++ b/modules/video_filter/opencv_example.c
@@ -172,7 +172,7 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
         CvSeq *faces = cvHaarDetectObjects( p_img[0], p_sys->p_cascade,
                                             p_sys->p_storage, 1.15, 5,
                                             CV_HAAR_DO_CANNY_PRUNING,
-                                            cvSize(20, 20) );
+                                            cvSize(20, 20), cvSize(0,0) );
         //create the video_filter_region_info_t struct
         if (faces && (faces->total > 0))
         {



More information about the vlc-commits mailing list