summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorAlban Browaeys <prahal@yahoo.com>2013-06-15 00:12:18 +0200
committerSebastian Dröge <slomo@circular-chaos.org>2013-06-18 13:37:26 +0200
commit90b51562ab7956c4fe7893ebb45f8cf44772901b (patch)
tree9186bedf57f845cb3331740b99d9cbf6b302d8df /ext
parentbab2bf3f110d361a316f1003bd467a35ed295436 (diff)
downloadgstreamer-plugins-bad-90b51562ab7956c4fe7893ebb45f8cf44772901b.tar.gz
opencv: fixes build by moving the c++ header to gstsegmentation.cpp
Fixes: In file included from gstsegmentation.h:51:0, from gstopencv.c:42: /usr/include/opencv2/video/background_segm.hpp:47:16: fatal error: list: No such file or directory #include <list> ^ compilation terminated. https://bugzilla.gnome.org/show_bug.cgi?id=702297
Diffstat (limited to 'ext')
-rw-r--r--ext/opencv/gstsegmentation.cpp1
-rw-r--r--ext/opencv/gstsegmentation.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/ext/opencv/gstsegmentation.cpp b/ext/opencv/gstsegmentation.cpp
index 880313e12..a6b3b10ed 100644
--- a/ext/opencv/gstsegmentation.cpp
+++ b/ext/opencv/gstsegmentation.cpp
@@ -93,6 +93,7 @@
#include <gst/gst.h>
#include "gstsegmentation.h"
+#include <opencv2/video/background_segm.hpp>
GST_DEBUG_CATEGORY_STATIC (gst_segmentation_debug);
#define GST_CAT_DEFAULT gst_segmentation_debug
diff --git a/ext/opencv/gstsegmentation.h b/ext/opencv/gstsegmentation.h
index 146ae6cc4..03577702c 100644
--- a/ext/opencv/gstsegmentation.h
+++ b/ext/opencv/gstsegmentation.h
@@ -48,7 +48,6 @@
#include <gst/video/gstvideofilter.h>
#include <cv.h>
-#include <opencv2/video/background_segm.hpp>
G_BEGIN_DECLS
/* #defines don't like whitespacey bits */