opencv: remove check for OpenCV version

After commit 64080e632, configure checks for all the header files that
should be available in OpenCV 2.3 and later. If any of these files isn't
there the OpenCV elements won't be part of the build.

No need to recheck for opencv2/legacy/legacy.hpp again in
gstpyramidsegment.h. Minimum supported OpenCV version must have this header
and configure already checks for it. Removing check.
This commit is contained in:
Luis de Bethencourt 2016-01-08 17:11:09 +00:00
parent 94c07ed229
commit 8c7ea6fb87

View file

@ -48,10 +48,7 @@
#include <gstopencvvideofilter.h>
#include <opencv2/core/version.hpp>
#if CV_MAJOR_VERSION * 100 + CV_MINOR_VERSION >= 204
#include <opencv2/legacy/legacy.hpp>
#endif
G_BEGIN_DECLS
/* #defines don't like whitespacey bits */