opencv: Fix build for opencv >= 3.4.2
authorThibault Saunier <tsaunier@igalia.com>
Fri, 13 Jul 2018 18:42:28 +0000 (14:42 -0400)
committerThibault Saunier <tsaunier@igalia.com>
Sat, 14 Jul 2018 12:01:27 +0000 (08:01 -0400)
commitc247745faaf885fd3fa094198fc0ea288e295dbf
tree01827def86f9d30d579cc17e2d6e791f8da7975e
parent6fd3e2a4009835295d938abb533b4ebbbfa7ca1a
opencv: Fix build for opencv >= 3.4.2

The `CV_RGB` macro is now in `imgproc.hpp`.

Fixes:

    ../subprojects/gst-plugins-bad/ext/opencv/gsthanddetect.cpp:497:40: error: ‘CV_RGB’ was not declared in this scope
            cvCircle (img, center, radius, CV_RGB (0, 0, 200), 1, 8, 0);
                                        ^~~~~~
ext/opencv/MotionCells.cpp
ext/opencv/gsthanddetect.cpp
ext/opencv/gsttemplatematch.cpp