removed confusing CvCapture::queryFrame(); rewritten cvQueryFrame() (ticket #235)

This commit is contained in:
Vadim Pisarevsky
2011-05-29 21:02:53 +00:00
parent 534ac83b8d
commit 24dcfa1a4f
3 changed files with 5 additions and 21 deletions

View File

@@ -98,7 +98,6 @@ struct CvCapture
virtual bool setProperty(int, double) { return 0; }
virtual bool grabFrame() { return true; }
virtual IplImage* retrieveFrame(int) { return 0; }
virtual IplImage* queryFrame() { return grabFrame() ? retrieveFrame(0) : 0; }
virtual int getCaptureDomain() { return CV_CAP_ANY; } // Return the type of the capture object: CV_CAP_VFW, etc...
};