summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2012-10-06 18:48:47 +0200
committerPaul Kocialkowski <contact@paulk.fr>2012-10-06 18:48:47 +0200
commitc53e6a8be024ffd287cec98a7bbec90b862856a3 (patch)
treed432522b946f6cf28519a2ea5a83e5fcc0813dd3
parent6739c4b2f916467b937a40783de84861787f6605 (diff)
downloaddevice_samsung_crespo-c53e6a8be024ffd287cec98a7bbec90b862856a3.zip
device_samsung_crespo-c53e6a8be024ffd287cec98a7bbec90b862856a3.tar.gz
device_samsung_crespo-c53e6a8be024ffd287cec98a7bbec90b862856a3.tar.bz2
libcamera: Set preview framerate to 20fps
Change-Id: I8a4dffc0a59cd354656473fc39927d9d61630669 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rwxr-xr-xlibcamera/SecCameraHWInterface.cpp4
1 files 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,