opencv: textoverlay: Ported to OpenCV version 3.1

imgproc_c.h is added because CvFont struct needs it in any 3.x version.
We use this structure in GstOpencvTextOverlay. This keeps compatibility
with 2.4.

https://bugzilla.gnome.org/show_bug.cgi?id=760473
This commit is contained in:
Vanessa Chipirras Navalon 2016-04-01 12:08:53 +02:00 committed by Luis de Bethencourt
parent 0fa43aaab4
commit 78cb53ad3c

View file

@ -48,6 +48,9 @@
#include <gstopencvvideofilter.h>
#include <opencv2/core/core_c.h>
#if (CV_MAJOR_VERSION >= 3)
#include <opencv2/imgproc/imgproc_c.h>
#endif
G_BEGIN_DECLS
/* #defines don't like whitespacey bits */