From c53e6a8be024ffd287cec98a7bbec90b862856a3 Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Sat, 6 Oct 2012 18:48:47 +0200 Subject: libcamera: Set preview framerate to 20fps Change-Id: I8a4dffc0a59cd354656473fc39927d9d61630669 Signed-off-by: Paul Kocialkowski --- libcamera/SecCameraHWInterface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libcamera/SecCameraHWInterface.cpp b/libcamera/SecCameraHWInterface.cpp index 580069f..3b6119d 100755 --- a/libcamera/SecCameraHWInterface.cpp +++ b/libcamera/SecCameraHWInterface.cpp @@ -211,8 +211,8 @@ void CameraHardwareSec::initDefaultParameters(int cameraId) "320x240,0x0"); p.set(CameraParameters::KEY_JPEG_THUMBNAIL_WIDTH, "320"); p.set(CameraParameters::KEY_JPEG_THUMBNAIL_HEIGHT, "240"); - p.set(CameraParameters::KEY_SUPPORTED_PREVIEW_FRAME_RATES, "30"); - p.setPreviewFrameRate(30); + p.set(CameraParameters::KEY_SUPPORTED_PREVIEW_FRAME_RATES, "20"); + p.setPreviewFrameRate(20); } else { parameterString = CameraParameters::FOCUS_MODE_FIXED; p.set(CameraParameters::KEY_SUPPORTED_FOCUS_MODES, -- cgit v1.1