diff options
Diffstat (limited to 'multimedia/gstreamer-plugins-bad/files/patch-ext_opencv_gstfacedetect.h')
-rw-r--r-- | multimedia/gstreamer-plugins-bad/files/patch-ext_opencv_gstfacedetect.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/multimedia/gstreamer-plugins-bad/files/patch-ext_opencv_gstfacedetect.h b/multimedia/gstreamer-plugins-bad/files/patch-ext_opencv_gstfacedetect.h new file mode 100644 index 000000000000..31d7a3965d12 --- /dev/null +++ b/multimedia/gstreamer-plugins-bad/files/patch-ext_opencv_gstfacedetect.h @@ -0,0 +1,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 */ |