@@ -95,7 +95,7 @@ - (IplImage*)getOutput;
95
95
~CvCaptureCAM ();
96
96
virtual bool grabFrame ();
97
97
virtual IplImage* retrieveFrame (int );
98
- virtual double getProperty (int property_id) const ;
98
+ virtual double getProperty (int property_id);
99
99
virtual bool setProperty (int property_id, double value);
100
100
virtual int didStart ();
101
101
@@ -138,7 +138,7 @@ - (IplImage*)getOutput;
138
138
~CvCaptureFile ();
139
139
virtual bool grabFrame ();
140
140
virtual IplImage* retrieveFrame (int );
141
- virtual double getProperty (int property_id) const ;
141
+ virtual double getProperty (int property_id);
142
142
virtual bool setProperty (int property_id, double value);
143
143
virtual int didStart ();
144
144
@@ -411,7 +411,7 @@ - (IplImage*)getOutput;
411
411
}
412
412
413
413
414
- double CvCaptureCAM::getProperty (int property_id) const {
414
+ double CvCaptureCAM::getProperty (int property_id) {
415
415
NSAutoreleasePool *localpool = [[NSAutoreleasePool alloc ] init ];
416
416
417
417
CMFormatDescriptionRef format = mCaptureDevice .activeFormat .formatDescription ;
@@ -1024,7 +1024,7 @@ -(int) updateImage {
1024
1024
return retrieveFramePixelBuffer ();
1025
1025
}
1026
1026
1027
- double CvCaptureFile::getProperty (int property_id) const {
1027
+ double CvCaptureFile::getProperty (int property_id) {
1028
1028
if (mAsset == nil ) return 0 ;
1029
1029
1030
1030
CMTime t;
0 commit comments