mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 19:50:38 +08:00
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);
|
||||
frame = cvLoadImage(str, CV_LOAD_IMAGE_ANYDEPTH | CV_LOAD_IMAGE_ANYCOLOR);
|
||||
frame = cvLoadImage(str, CV_LOAD_IMAGE_UNCHANGED);
|
||||
if( frame )
|
||||
currentframe++;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user