Commit 370235c0 authored by Roman Donchenko's avatar Roman Donchenko Committed by OpenCV Buildbot

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

parents 43c91572 d6a7a6d5
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment