From b676d73281b5ecceff1befa677ae202843ecab2d Mon Sep 17 00:00:00 2001 From: "Christopher R. Palmer" Date: Mon, 25 Aug 2014 14:57:20 -0400 Subject: [PATCH] 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 --- camera/CameraWrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/camera/CameraWrapper.cpp b/camera/CameraWrapper.cpp index 7e3fa8c..c0e41d0 100644 --- a/camera/CameraWrapper.cpp +++ b/camera/CameraWrapper.cpp @@ -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); }