summaryrefslogtreecommitdiff
authorjiyu.yang <jiyu.yang@amlogic.com>2014-01-16 02:50:43 (GMT)
committer tao.dong <tao.dong@amlogic.com>2014-01-21 05:44:24 (GMT)
commite17fd9d7d2e0a90d79478e2f1d0e5b23334bc089 (patch)
tree41abeafa97d0ca5f2f7a42e935a6c5c96dcf98d4
parentce02e27ec439faffdebc94a299f4102250f87d42 (diff)
downloadcamera-e17fd9d7d2e0a90d79478e2f1d0e5b23334bc089.zip
camera-e17fd9d7d2e0a90d79478e2f1d0e5b23334bc089.tar.gz
camera-e17fd9d7d2e0a90d79478e2f1d0e5b23334bc089.tar.bz2
PD#86677 HD usb camera preview better performance
this bug is the same as PD#81005
Diffstat
-rwxr-xr-xV4LCameraAdapter/V4LCameraAdapter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/V4LCameraAdapter/V4LCameraAdapter.cpp b/V4LCameraAdapter/V4LCameraAdapter.cpp
index 59f3dbb..85730ab 100755
--- a/V4LCameraAdapter/V4LCameraAdapter.cpp
+++ b/V4LCameraAdapter/V4LCameraAdapter.cpp
@@ -3382,7 +3382,7 @@ extern "C" int V4LCameraAdapter::SetExposureMode(int camera_fd, unsigned int mod
if( (V4L2_EXPOSURE_APERTURE_PRIORITY ==ctl.value)||(V4L2_EXPOSURE_AUTO ==ctl.value)){
memset( &ctl, 0, sizeof(ctl));
ctl.id = V4L2_CID_EXPOSURE_AUTO_PRIORITY;
- ctl.value = true;
+ ctl.value = false;
ret = ioctl(camera_fd, VIDIOC_S_CTRL, &ctl);
if(ret<0){
CAMHAL_LOGDB("Exposure auto priority Set manual fail: %s. ret=%d", strerror(errno),ret);