summaryrefslogtreecommitdiff
path: root/ext/opencv/gstsegmentation.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/gstsegmentation.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/gstsegmentation.h')
-rw-r--r--ext/opencv/gstsegmentation.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/opencv/gstsegmentation.h b/ext/opencv/gstsegmentation.h
index 03577702c..940085311 100644
--- a/ext/opencv/gstsegmentation.h
+++ b/ext/opencv/gstsegmentation.h
@@ -46,8 +46,9 @@
#include <gst/gst.h>
#include <gst/video/gstvideofilter.h>
+#include <opencv2/core/core_c.h>
+
-#include <cv.h>
G_BEGIN_DECLS
/* #defines don't like whitespacey bits */