mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 14:13:15 +08:00
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;
|
||||
}
|
||||
if(_img->origin == IPL_ORIGIN_TL)
|
||||
image = Mat(_img);
|
||||
Mat(_img).copyTo(image);
|
||||
else
|
||||
{
|
||||
Mat temp(_img);
|
||||
|
Loading…
Reference in New Issue
Block a user