Merge pull request #1711 from SpecLad:cap-broken-mat
This commit is contained in:
commit
370235c07b
@ -523,7 +523,7 @@ bool VideoCapture::retrieve(Mat& image, int channel)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if(_img->origin == IPL_ORIGIN_TL)
|
if(_img->origin == IPL_ORIGIN_TL)
|
||||||
image = Mat(_img);
|
Mat(_img).copyTo(image);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Mat temp(_img);
|
Mat temp(_img);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user