Search
j0ke.net Open Build Service
>
Projects
>
multimedia
:
SL11
>
vlc
> vlc-opencv22.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File vlc-opencv22.patch of Package vlc
Index: vlc-1.1.10/modules/video_filter/opencv_example.c =================================================================== --- vlc-1.1.10.orig/modules/video_filter/opencv_example.c +++ vlc-1.1.10/modules/video_filter/opencv_example.c @@ -191,7 +191,10 @@ static picture_t *Filter( filter_t *p_fi 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) ); +#if CV_MINOR_VERSION >= 2 + cvSize(0, 0), +#endif + cvSize(20, 20) ); //create the video_filter_region_info_t struct if (faces && (faces->total > 0)) {