fixed Kirill's comments

This commit is contained in:
Alexander Shishkov
2013-06-18 06:59:52 +04:00
parent 0cee15eb7f
commit 5db08961ce
2 changed files with 3 additions and 3 deletions

View File

@@ -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]);
} }
} }
} }

View File

@@ -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 ()