From 78cb53ad3ca2e100e8f1f27708bf64b2b01a6929 Mon Sep 17 00:00:00 2001 From: Vanessa Chipirras Navalon Date: Fri, 1 Apr 2016 12:08:53 +0200 Subject: [PATCH] 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 --- ext/opencv/gsttextoverlay.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ext/opencv/gsttextoverlay.h b/ext/opencv/gsttextoverlay.h index 65a7d756e5..13d09fa966 100644 --- a/ext/opencv/gsttextoverlay.h +++ b/ext/opencv/gsttextoverlay.h @@ -48,6 +48,9 @@ #include #include +#if (CV_MAJOR_VERSION >= 3) +#include +#endif G_BEGIN_DECLS /* #defines don't like whitespacey bits */