拍照模板改为静态抓拍模式

hdrplus
Matthew 1 year ago
parent 1d4f550d68
commit 62832f07dc

@ -551,6 +551,8 @@ int NdkCamera::open(const std::string& cameraId) {
ACameraDevice_request_template templateId = ((afSupported && m_params.autoFocus) ||
m_params.autoExposure) ? TEMPLATE_PREVIEW
: TEMPLATE_STILL_CAPTURE;
templateId = TEMPLATE_STILL_CAPTURE;
status = ACameraDevice_createCaptureRequest(camera_device, templateId, &capture_request);
int32_t fpsRange[2] = {1,10};

Loading…
Cancel
Save