aboutsummaryrefslogtreecommitdiff
path: root/multimedia/gstreamer-plugins-bad/files/patch-ext_opencv_gstfacedetect.h
blob: 31d7a3965d12c7e8d68622dd09bfb803ba9a8472 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- ext/opencv/gstfacedetect.h.orig	2011-12-30 13:24:28.000000000 -0500
+++ ext/opencv/gstfacedetect.h	2018-05-02 15:58:32.074608000 -0400
@@ -51,9 +51,7 @@
 #include <cv.h>
 #include "gstopencvvideofilter.h"
 
-#if (CV_MAJOR_VERSION >= 2) && (CV_MINOR_VERSION >= 2)
-#include <opencv2/objdetect/objdetect.hpp>
-#endif
+#include <opencv2/imgcodecs/imgcodecs_c.h>
 
 G_BEGIN_DECLS
 /* #defines don't like whitespacey bits */