aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRGIB <gibellini.roberto@gmail.com>2016-10-19 00:51:55 +0200
committerRoberto Gibellini <gibellini.roberto@gmail.com>2016-10-18 15:56:40 -0700
commit2589ab6dc7e8ee4ae2725077d21b24aade8e60cb (patch)
treee29030dfaad84209a7201a68594fc3fe7364b7ee
parent6e16d4cd101deba8748c678cb6424acd5dcca425 (diff)
downloaddevice_samsung_kona-common-2589ab6dc7e8ee4ae2725077d21b24aade8e60cb.tar.gz
device_samsung_kona-common-2589ab6dc7e8ee4ae2725077d21b24aade8e60cb.tar.bz2
device_samsung_kona-common-2589ab6dc7e8ee4ae2725077d21b24aade8e60cb.zip
kona : fix switching front camera video recording
Change-Id: I8e1d9f438adfbb0d5f2452cee74a713f5ff3dba8
-rwxr-xr-xcamera/exynos_camera.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camera/exynos_camera.c b/camera/exynos_camera.c
index d35a6b7..048e367 100755
--- a/camera/exynos_camera.c
+++ b/camera/exynos_camera.c
@@ -3955,7 +3955,7 @@ int exynos_camera_open(const struct hw_module_t* module, const char *camera_id,
camera_device = calloc(1, sizeof(struct camera_device));
camera_device->common.tag = HARDWARE_DEVICE_TAG;
- camera_device->common.version = 0;
+ camera_device->base.common.version = CAMERA_DEVICE_API_VERSION_1_0;
camera_device->common.module = (struct hw_module_t *) module;
camera_device->common.close = exynos_camera_close;