@ -1171,7 +1171,7 @@ bool CPhoneDevice::TakePhoto(const IDevice::PHOTO_INFO& photoInfo, const vector<
params.orientation = mPhotoInfo.orientation;
params.zoom = mPhotoInfo.zoom;
params.zoomRatio = mPhotoInfo.zoomRatio;
params.requestTemplate; = mPhotoInfo.requestTemplate;
params.requestTemplate = mPhotoInfo.requestTemplate;
if (photoInfo.ldrEnabled)
{
@ -554,7 +554,7 @@ int NdkCamera::open(const std::string& cameraId) {
m_params.autoExposure) ? TEMPLATE_PREVIEW
: TEMPLATE_STILL_CAPTURE;
templateId = m_param.requestTemplate;
templateId = (ACameraDevice_request_template)m_params.requestTemplate;
status = ACameraDevice_createCaptureRequest(camera_device, templateId, &capture_request);
int32_t fpsRange[2] = {1,10};