summaryrefslogtreecommitdiff
path: root/ext/opencv/gstsegmentation.h
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2016-12-04 14:42:47 -0500
committerNicolas Dufresne <nicolas.dufresne@collabora.com>2016-12-04 14:49:05 -0500
commitfc284f7b1ceee22d6e36058a4035359e2c2267fd (patch)
tree9d4949fb01a969516ce1e3eb64a4d6e725215aa1 /ext/opencv/gstsegmentation.h
parent2b43312a550a35a1dd3982c61ed180667a12adf3 (diff)
downloadgstreamer-plugins-bad-fc284f7b1ceee22d6e36058a4035359e2c2267fd.tar.gz
segmentation: Port to GstOpencvVideoFilter base class
Diffstat (limited to 'ext/opencv/gstsegmentation.h')
-rw-r--r--ext/opencv/gstsegmentation.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/ext/opencv/gstsegmentation.h b/ext/opencv/gstsegmentation.h
index 982e2baa1..20e42ca57 100644
--- a/ext/opencv/gstsegmentation.h
+++ b/ext/opencv/gstsegmentation.h
@@ -45,7 +45,7 @@
#define __GST_SEGMENTATION_H__
#include <gst/gst.h>
-#include <gst/video/gstvideofilter.h>
+#include <gst/opencv/gstopencvvideofilter.h>
#include <opencv2/core/core_c.h>
#include <opencv2/video/background_segm.hpp>
#include <opencv2/core/version.hpp>
@@ -90,13 +90,12 @@ typedef struct code_book
struct _GstSegmentation
{
- GstVideoFilter element;
+ GstOpencvVideoFilter element;
gint method;
gboolean test_mode;
gint width, height;
- IplImage *cvRGBA;
IplImage *cvRGB;
IplImage *cvYUV;
@@ -125,7 +124,7 @@ struct _GstSegmentation
struct _GstSegmentationClass
{
- GstVideoFilterClass parent_class;
+ GstOpencvVideoFilterClass parent_class;
};
GType gst_segmentation_get_type (void);