mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 00:03:03 +04:00
videoio: added '.getBackendName()' method
This commit is contained in:
@@ -103,7 +103,7 @@ public:
|
||||
virtual bool setProperty(int, double) CV_OVERRIDE;
|
||||
virtual bool grabFrame() CV_OVERRIDE;
|
||||
virtual IplImage* retrieveFrame(int) CV_OVERRIDE;
|
||||
virtual int getCaptureDomain() CV_OVERRIDE { return CV_CAP_VFW; } // Return the type of the capture object: CV_CAP_VFW, etc...
|
||||
virtual int getCaptureDomain() CV_OVERRIDE { return CV_CAP_VFW; }
|
||||
|
||||
protected:
|
||||
void init();
|
||||
@@ -697,6 +697,7 @@ public:
|
||||
virtual void close();
|
||||
virtual bool writeFrame( const IplImage* );
|
||||
|
||||
int getCaptureDomain() const CV_OVERRIDE { return cv::CAP_VFW; }
|
||||
protected:
|
||||
void init();
|
||||
bool createStreams( CvSize frameSize, bool isColor );
|
||||
|
||||
Reference in New Issue
Block a user