From 8f1e7b0333d4f7ec1fa946c02b7d07a2a5ac3104 Mon Sep 17 00:00:00 2001 From: athurh Date: Tue, 19 Mar 2013 03:23:12 +0100 Subject: camera: manage picture width and height separately required for 3264x2448 <-> 3264x1968 Change-Id: I729402e208dccee8cf1d1368c1d2d0dcd1f08a3d --- camera/exynos_camera.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'camera') diff --git a/camera/exynos_camera.c b/camera/exynos_camera.c index 893f862..6d9ad9c 100644 --- a/camera/exynos_camera.c +++ b/camera/exynos_camera.c @@ -587,13 +587,10 @@ int exynos_camera_params_apply(struct exynos_camera *exynos_camera) if (picture_size_string != NULL) { sscanf(picture_size_string, "%dx%d", &picture_width, &picture_height); - if (picture_width != 0 && picture_height != 0 && - picture_width != exynos_camera->picture_width && - picture_height != exynos_camera->picture_height) { + if (picture_width != 0 && picture_width != exynos_camera->picture_width) exynos_camera->picture_width = picture_width; + if (picture_height != 0 && picture_height != exynos_camera->picture_height) exynos_camera->picture_height = picture_height; - } - } picture_format_string = exynos_param_string_get(exynos_camera, "picture-format"); -- cgit v1.1