fixed Kirill's comments

pull/1007/head
Alexander Shishkov 12 years ago
parent 0cee15eb7f
commit 5db08961ce
  1. 4
      modules/highgui/src/cap_ios_abstract_camera.mm
  2. 2
      modules/highgui/src/cap_ios_photo_camera.mm

@ -470,7 +470,7 @@
device.whiteBalanceMode = AVCaptureWhiteBalanceModeLocked; device.whiteBalanceMode = AVCaptureWhiteBalanceModeLocked;
[device unlockForConfiguration]; [device unlockForConfiguration];
} else { } else {
NSLog(@"unable to lock device for locked exposure configuration %@", [error localizedDescription]); NSLog(@"unable to lock device for locked white balance configuration %@", [error localizedDescription]);
} }
} }
} }
@ -484,7 +484,7 @@
device.whiteBalanceMode = AVCaptureWhiteBalanceModeContinuousAutoWhiteBalance; device.whiteBalanceMode = AVCaptureWhiteBalanceModeContinuousAutoWhiteBalance;
[device unlockForConfiguration]; [device unlockForConfiguration];
} else { } else {
NSLog(@"unable to lock device for autoexposure configuration %@", [error localizedDescription]); NSLog(@"unable to lock device for auto white balance configuration %@", [error localizedDescription]);
} }
} }
} }

@ -32,7 +32,7 @@
#import "opencv2/highgui/cap_ios.h" #import "opencv2/highgui/cap_ios.h"
#include "precomp.hpp" #include "precomp.hpp"
#pragma mark - Private Interface mark - Private Interface #pragma mark - Private Interface
@interface CvPhotoCamera () @interface CvPhotoCamera ()

Loading…
Cancel
Save