[vlc-devel] [PATCH 1/2] opencv_wrapper: use opencv2-style includes

Jean-Baptiste Kempf jb at videolan.org
Thu May 28 17:56:19 CEST 2015


Applied. Thanks

On 24 May, Samuel Martin wrote :
> If old opencv1-style legacy include directory is available, this change
> becomes purely cosmetic (maybe will compile a bit faster).
> It becomes an FTBFS fix when opencv1-style include directory is missing
> (i.e. from opencv-3.0).
> 
> Signed-off-by: Samuel Martin <s.martin49 at gmail.com>
> ---
>  modules/video_filter/opencv_wrapper.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/modules/video_filter/opencv_wrapper.c b/modules/video_filter/opencv_wrapper.c
> index e36e1a5..5d74241 100644
> --- a/modules/video_filter/opencv_wrapper.c
> +++ b/modules/video_filter/opencv_wrapper.c
> @@ -39,8 +39,8 @@
>  #include <vlc_image.h>
>  #include "filter_picture.h"
>  
> -#include <cxcore.h>
> -#include <cv.h>
> +#include <opencv2/core/core_c.h>
> +#include <opencv2/core/types_c.h>
>  
>  /*****************************************************************************
>   * Local prototypes
> -- 
> 2.4.1
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

-- 
With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list