summaryrefslogtreecommitdiff
path: root/ext/opencv/gsttemplatematch.cpp
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2018-08-02 10:39:14 -0400
committerNicolas Dufresne <nicolas.dufresne@collabora.com>2018-08-02 11:31:34 -0400
commitcabf8750984afb662d4401b4316ea96d0bc1ecc8 (patch)
treeec515ab20a0a2dfdd54acc558a1f149743b4c69f /ext/opencv/gsttemplatematch.cpp
parentf028f817e33a895ec64e089062abedc8e373f343 (diff)
downloadgstreamer-plugins-bad-cabf8750984afb662d4401b4316ea96d0bc1ecc8.tar.gz
opencv: Bump requirement to 3.0.0+
And removes all the ifdef code to support the 2.X APIs.
Diffstat (limited to 'ext/opencv/gsttemplatematch.cpp')
-rw-r--r--ext/opencv/gsttemplatematch.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/opencv/gsttemplatematch.cpp b/ext/opencv/gsttemplatematch.cpp
index ec0b56af8..c390d1883 100644
--- a/ext/opencv/gsttemplatematch.cpp
+++ b/ext/opencv/gsttemplatematch.cpp
@@ -63,10 +63,7 @@
#include "../../gst-libs/gst/gst-i18n-plugin.h"
#include "gsttemplatematch.h"
-#if (CV_MAJOR_VERSION >= 3)
#include <opencv2/imgproc.hpp>
-#endif
-#include <opencv2/imgproc/imgproc_c.h>
GST_DEBUG_CATEGORY_STATIC (gst_template_match_debug);
#define GST_CAT_DEFAULT gst_template_match_debug