Merge pull request #5870 from IshankGulati:VideoCapture-fix
This commit is contained in:
commit
639c8fc6d6
@ -124,7 +124,7 @@ bool CvCapture_Images::grabFrame()
|
|||||||
}
|
}
|
||||||
|
|
||||||
cvReleaseImage(&frame);
|
cvReleaseImage(&frame);
|
||||||
frame = cvLoadImage(str, CV_LOAD_IMAGE_ANYDEPTH | CV_LOAD_IMAGE_ANYCOLOR);
|
frame = cvLoadImage(str, CV_LOAD_IMAGE_UNCHANGED);
|
||||||
if( frame )
|
if( frame )
|
||||||
currentframe++;
|
currentframe++;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user