mirror of
https://github.com/opencv/opencv.git
synced 2025-06-08 01:53:19 +08:00
Merge pull request #19809 from alalek:issue_19513
This commit is contained in:
commit
53a16b1186
@ -96,7 +96,7 @@ class CvCaptureCAM : public CvCapture {
|
|||||||
virtual double getProperty(int property_id) const;
|
virtual double getProperty(int property_id) const;
|
||||||
virtual bool setProperty(int property_id, double value);
|
virtual bool setProperty(int property_id, double value);
|
||||||
virtual int didStart();
|
virtual int didStart();
|
||||||
|
int getCaptureDomain() /*const*/ CV_OVERRIDE { return cv::CAP_AVFOUNDATION; }
|
||||||
private:
|
private:
|
||||||
AVCaptureSession *mCaptureSession;
|
AVCaptureSession *mCaptureSession;
|
||||||
AVCaptureDeviceInput *mCaptureDeviceInput;
|
AVCaptureDeviceInput *mCaptureDeviceInput;
|
||||||
@ -137,6 +137,7 @@ public:
|
|||||||
virtual double getProperty(int property_id) const;
|
virtual double getProperty(int property_id) const;
|
||||||
virtual bool setProperty(int property_id, double value);
|
virtual bool setProperty(int property_id, double value);
|
||||||
virtual int didStart();
|
virtual int didStart();
|
||||||
|
int getCaptureDomain() /*const*/ CV_OVERRIDE { return cv::CAP_AVFOUNDATION; }
|
||||||
private:
|
private:
|
||||||
AVAsset *mAsset;
|
AVAsset *mAsset;
|
||||||
AVAssetTrack *mAssetTrack;
|
AVAssetTrack *mAssetTrack;
|
||||||
|
@ -99,7 +99,7 @@ public:
|
|||||||
virtual double getProperty(int property_id) const;
|
virtual double getProperty(int property_id) const;
|
||||||
virtual bool setProperty(int property_id, double value);
|
virtual bool setProperty(int property_id, double value);
|
||||||
virtual int didStart();
|
virtual int didStart();
|
||||||
|
int getCaptureDomain() /*const*/ CV_OVERRIDE { return cv::CAP_AVFOUNDATION; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
AVCaptureSession *mCaptureSession;
|
AVCaptureSession *mCaptureSession;
|
||||||
@ -141,7 +141,7 @@ public:
|
|||||||
virtual double getProperty(int property_id) const;
|
virtual double getProperty(int property_id) const;
|
||||||
virtual bool setProperty(int property_id, double value);
|
virtual bool setProperty(int property_id, double value);
|
||||||
virtual int didStart();
|
virtual int didStart();
|
||||||
|
int getCaptureDomain() /*const*/ CV_OVERRIDE { return cv::CAP_AVFOUNDATION; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
AVAsset *mAsset;
|
AVAsset *mAsset;
|
||||||
|
Loading…
Reference in New Issue
Block a user