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
commit 370235c07b

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);