From 6df9ffc1e0ca91191798352135b636b5e08f915d Mon Sep 17 00:00:00 2001 From: Wu-cheng Li Date: Mon, 10 Aug 2009 15:07:38 +0800 Subject: Change the default effect value from "off" to "none". --- libcamera2/QualcommCameraHardware.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libcamera2/QualcommCameraHardware.cpp b/libcamera2/QualcommCameraHardware.cpp index 981c46f..2a39f20 100644 --- a/libcamera2/QualcommCameraHardware.cpp +++ b/libcamera2/QualcommCameraHardware.cpp @@ -173,7 +173,7 @@ static char *whitebalance_values; // from camera_effect_t static const str_map effect[] = { - { "off", CAMERA_EFFECT_OFF }, /* This list must match aeecamera.h */ + { "none", CAMERA_EFFECT_OFF }, /* This list must match aeecamera.h */ { "mono", CAMERA_EFFECT_MONO }, { "negative", CAMERA_EFFECT_NEGATIVE }, { "solarize", CAMERA_EFFECT_SOLARIZE }, @@ -268,7 +268,7 @@ void QualcommCameraHardware::initDefaultParameters() p.setPictureSize(DEFAULT_PICTURE_WIDTH, DEFAULT_PICTURE_HEIGHT); p.set("antibanding", "off"); - p.set("effect", "off"); + p.set("effect", "none"); p.set("whitebalance", "auto"); #if 0 -- cgit v1.2.3