summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyuntae Kim <ht1211.kim@samsung.com>2019-06-10 11:11:30 +0900
committerHyuntae Kim <ht1211.kim@samsung.com>2019-06-10 11:18:58 +0900
commit02556de3906e5a1dd5718d23b9db145ffec232f8 (patch)
treea766a344ed2ec1229bfc65f22a8ec3c36b495116
parente1621483eeb5733a879668f19e3c818f3ba19e84 (diff)
downloadcamera-hal-v4l2-tizen_5.0.tar.gz
camera-hal-v4l2-tizen_5.0.tar.bz2
camera-hal-v4l2-tizen_5.0.zip
[camera hal] build error with log tag parameterstizen_5.0
1. camera log parameter mismatched with number of inputs [Version] 0.0.2 [Profile] Common [Issue Type] Update [Dependency module] N/A Change-Id: Idc01dfaca9dd1007faa6b2cbc3b8d0d96bd2f83c
-rw-r--r--src/tizen_camera_v4l2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tizen_camera_v4l2.c b/src/tizen_camera_v4l2.c
index fb7c87e..e59c669 100644
--- a/src/tizen_camera_v4l2.c
+++ b/src/tizen_camera_v4l2.c
@@ -445,7 +445,7 @@ static int _camera_get_device_info(int device_index, int device_fd, camera_devic
v4l2_frame.stepwise.max_height);
break;
case V4L2_FRMSIZE_TYPE_STEPWISE:
- LOGW("\t\tsize[%d] %ux%u - %ux%u (step %ux%u)",
+ LOGW("\t\tsize[%d] %ux%u - %ux%u (step %ux%u)", j,
v4l2_frame.stepwise.min_width,
v4l2_frame.stepwise.min_height,
v4l2_frame.stepwise.max_width,
@@ -1165,7 +1165,7 @@ int camera_set_preview_stream_format(void *camera_handle, camera_format_t *forma
if (V4L2_TYPE_IS_MULTIPLANAR(handle->v4l2_type)) {
for (i = 0 ; i < v4l2_fmt.fmt.pix_mp.num_planes ; i++) {
- LOGD("plane[%d] stride %d, sizeimage %d",
+ LOGD("plane[%d] stride %d, sizeimage %d", i,
v4l2_fmt.fmt.pix_mp.plane_fmt[i].bytesperline,
v4l2_fmt.fmt.pix_mp.plane_fmt[i].sizeimage);
}
@@ -1810,7 +1810,7 @@ int camera_set_batch_command(void *camera_handle, camera_batch_command_control_t
g_mutex_lock(&handle->lock);
- LOGD("set batch command - flag 0x"PRIx64", state %d",
+ LOGD("set batch command - flag 0x%"PRIx64", state %d",
batch_command->command_set_flag, handle->state);
/* TODO: to be implemented */