mirror of
https://github.com/S3NEO/android_device_samsung_msm8226-common.git
synced 2024-11-06 21:55:45 +00:00
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:
parent
a04e8cdcbc
commit
b676d73281
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ static char * camera_fixup_getparams(int id, const char * settings)
|
|||
const char* hfrValues = params.get(KEY_VIDEO_HFR_VALUES);
|
||||
if (hfrValues && *hfrValues && ! strstr(hfrValues, "off")) {
|
||||
char tmp[strlen(hfrValues) + 4 + 1];
|
||||
sprintf(tmp, "off,%s", hfrValues);
|
||||
sprintf(tmp, "%s,off", hfrValues);
|
||||
params.set(KEY_VIDEO_HFR_VALUES, tmp);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue