cameracalibrate: Fix build error on Mac OSX

It fails to build only on Mac OSX with the following error.

In file included from ../subprojects/gst-plugins-bad/ext/opencv/gstopencv.cpp:45:
../subprojects/gst-plugins-bad/ext/opencv/gstcameracalibrate.h:96:38: error: a space is required between consecutive right angle brackets (use '> >')
  std::vector<std::vector<cv::Point2f>> imagePoints;
                                     ^~
                                     > >
1 error generated.

Fix: #817
This commit is contained in:
Justin Kim 2018-11-13 18:20:15 +09:00
parent b44d2702ca
commit e76c61d74c

View file

@ -93,7 +93,7 @@ struct _GstCameraCalibrate
int flags;
int mode;
clock_t prevTimestamp;
std::vector<std::vector<cv::Point2f>> imagePoints;
std::vector<std::vector<cv::Point2f> > imagePoints;
cv::Mat cameraMatrix, distCoeffs;
// opaque string containing opencv calibration settings