Commit 639c8fc6 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #5870 from IshankGulati:VideoCapture-fix

parents b7735b34 e607a85d
......@@ -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++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment