mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 22:44:02 +08:00
png-image-compatibility
This commit is contained in:
parent
afdbd855ee
commit
e607a85df6
@ -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