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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user