fixed Kirill's comments
This commit is contained in:
@@ -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 ()
|
||||||
|
Reference in New Issue
Block a user