Change the default effect value from "off" to "none".

This commit is contained in:
Wu-cheng Li 2009-08-10 15:07:38 +08:00
parent a474856497
commit 9699cda001

View File

@ -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