Itseez/opencv — pull request #98 by bhuroc (2012-10-24 20:24:59+00:00)
Title: CvCaptureFile::grabFrame() always returns 1, regardless the end of video. Fixed.

The function CvCaptureFile::grabFrame() in cap_qtkit.m alway returns true, which means if one relies on the returned value to step through frames of a quicktime video, it'll be a dead loop. This commit detects the end of a quicktime video properly and returns false when reaching the end.