msm8974: CameraWrapper: Fix the off value for hfr

Apparently, this must be the last element, not the first element
in the list.

Change-Id: If202337e9211475030cc5fa136c6624e52ff8997
This commit is contained in:
Christopher R. Palmer 2014-08-25 14:57:20 -04:00
parent a04e8cdcbc
commit b676d73281

View file

@ -116,7 +116,7 @@ static char * camera_fixup_getparams(int id, const char * settings)
const char* hfrValues = params.get(KEY_VIDEO_HFR_VALUES); const char* hfrValues = params.get(KEY_VIDEO_HFR_VALUES);
if (hfrValues && *hfrValues && ! strstr(hfrValues, "off")) { if (hfrValues && *hfrValues && ! strstr(hfrValues, "off")) {
char tmp[strlen(hfrValues) + 4 + 1]; char tmp[strlen(hfrValues) + 4 + 1];
sprintf(tmp, "off,%s", hfrValues); sprintf(tmp, "%s,off", hfrValues);
params.set(KEY_VIDEO_HFR_VALUES, tmp); params.set(KEY_VIDEO_HFR_VALUES, tmp);
} }