Commit d5092a6f authored by VBystricky's avatar VBystricky

Add CV_CAP_PROP_POS_FRAMES property to cap_images.cpp

parent b2a5e66f
......@@ -135,6 +135,8 @@ double CvCapture_Images::getProperty(int id) const
return 0;
case CV_CAP_PROP_POS_FRAMES:
return currentframe;
case CV_CAP_PROP_FRAME_COUNT:
return length;
case CV_CAP_PROP_POS_AVI_RATIO:
return (double)currentframe / (double)(length - 1);
case CV_CAP_PROP_FRAME_WIDTH:
......
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