diff options
-rw-r--r-- | camera/OMXCameraAdapter/OMXAlgo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/camera/OMXCameraAdapter/OMXAlgo.cpp b/camera/OMXCameraAdapter/OMXAlgo.cpp index a3b793f..5266427 100644 --- a/camera/OMXCameraAdapter/OMXAlgo.cpp +++ b/camera/OMXCameraAdapter/OMXAlgo.cpp @@ -144,7 +144,7 @@ status_t OMXCameraAdapter::setParametersAlgo(const CameraParameters ¶ms, } } } - else + else if(mParams.get(TICameraParameters::KEY_GBCE) || mFirstTimeInit) { //Disable GBCE by default setGBCE(OMXCameraAdapter::BRIGHTNESS_OFF); @@ -182,7 +182,7 @@ status_t OMXCameraAdapter::setParametersAlgo(const CameraParameters ¶ms, } } } - else + else if(mParams.get(TICameraParameters::KEY_GLBCE) || mFirstTimeInit) { //Disable GLBCE by default setGLBCE(OMXCameraAdapter::BRIGHTNESS_OFF); |