summaryrefslogtreecommitdiff
path: root/ext/opencv/gstfacedetect.h
diff options
context:
space:
mode:
authorРуслан Ижбулатов <lrn1986@gmail.com>2015-04-11 16:53:38 +0000
committerSebastian Dröge <sebastian@centricular.com>2015-04-17 18:34:22 +0200
commit589407a077fb645d805b86494d9d7fc56a104a64 (patch)
tree7d9a53da36286b53c95e8074019d98cafc197dfc /ext/opencv/gstfacedetect.h
parent64080e632d7e86b218f2595bcc7b3a9199c1bc4a (diff)
downloadgstreamer-plugins-bad-589407a077fb645d805b86494d9d7fc56a104a64.tar.gz
opencv: Change opencv plugin to use opencv2-style includes
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 (possibly because opencv package maintainer decided not to pack it). https://bugzilla.gnome.org/show_bug.cgi?id=747705
Diffstat (limited to 'ext/opencv/gstfacedetect.h')
-rw-r--r--ext/opencv/gstfacedetect.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opencv/gstfacedetect.h b/ext/opencv/gstfacedetect.h
index 090fb7958..6db7033e2 100644
--- a/ext/opencv/gstfacedetect.h
+++ b/ext/opencv/gstfacedetect.h
@@ -49,7 +49,7 @@
#define __GST_FACE_DETECT_H__
#include <gst/gst.h>
-#include <cv.h>
+#include <opencv2/core/version.hpp>
#include "gstopencvvideofilter.h"
#if (CV_MAJOR_VERSION >= 2) && (CV_MINOR_VERSION >= 2)