Commit 9e2395e7 authored by Ilya Lavrenov's avatar Ilya Lavrenov

return false in grabFrame failed in open method

parent 05945bf0
......@@ -294,11 +294,11 @@ bool CvCapture_Images::open(const char * _filename)
firstframe = offset;
// grab frame to enable properties retrieval
grabFrame();
bool grabRes = grabFrame();
grabbedInOpen = true;
currentframe = 0;
return true;
return grabRes;
}
......
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