Merge pull request #19809 from alalek:issue_19513

pull/19822/head
Alexander Alekhin 4 years ago
commit 53a16b1186
  1. 3
      modules/videoio/src/cap_avfoundation.mm
  2. 4
      modules/videoio/src/cap_avfoundation_mac.mm

@ -96,7 +96,7 @@ class CvCaptureCAM : public CvCapture {
virtual double getProperty(int property_id) const;
virtual bool setProperty(int property_id, double value);
virtual int didStart();
int getCaptureDomain() /*const*/ CV_OVERRIDE { return cv::CAP_AVFOUNDATION; }
private:
AVCaptureSession *mCaptureSession;
AVCaptureDeviceInput *mCaptureDeviceInput;
@ -137,6 +137,7 @@ public:
virtual double getProperty(int property_id) const;
virtual bool setProperty(int property_id, double value);
virtual int didStart();
int getCaptureDomain() /*const*/ CV_OVERRIDE { return cv::CAP_AVFOUNDATION; }
private:
AVAsset *mAsset;
AVAssetTrack *mAssetTrack;

@ -99,7 +99,7 @@ public:
virtual double getProperty(int property_id) const;
virtual bool setProperty(int property_id, double value);
virtual int didStart();
int getCaptureDomain() /*const*/ CV_OVERRIDE { return cv::CAP_AVFOUNDATION; }
private:
AVCaptureSession *mCaptureSession;
@ -141,7 +141,7 @@ public:
virtual double getProperty(int property_id) const;
virtual bool setProperty(int property_id, double value);
virtual int didStart();
int getCaptureDomain() /*const*/ CV_OVERRIDE { return cv::CAP_AVFOUNDATION; }
private:
AVAsset *mAsset;

Loading…
Cancel
Save