mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
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:
parent
0fa43aaab4
commit
78cb53ad3c
1 changed files with 3 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue