1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

Merge pull request #1711 from SpecLad:cap-broken-mat

This commit is contained in:
Roman Donchenko
2013-11-06 14:53:07 +04:00
committed by OpenCV Buildbot
+1 -1
View File
@@ -523,7 +523,7 @@ bool VideoCapture::retrieve(Mat& image, int channel)
return false;
}
if(_img->origin == IPL_ORIGIN_TL)
image = Mat(_img);
Mat(_img).copyTo(image);
else
{
Mat temp(_img);