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
This commit is contained in:
Alban Browaeys 2013-06-15 00:12:18 +02:00 committed by Sebastian Dröge
parent bab2bf3f11
commit 90b51562ab
2 changed files with 1 additions and 1 deletions

View file

@ -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

View file

@ -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 */