Add missed tab 71/274971/1
authorJeongmo Yang <jm80.yang@samsung.com>
Fri, 13 May 2022 02:09:58 +0000 (11:09 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Fri, 13 May 2022 02:09:58 +0000 (11:09 +0900)
[Version] 0.4.78
[Issue Type] Coding rule

Change-Id: I11a19605f7c01de7a3c73f3b54b6bc688aca5eb7
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
packaging/capi-media-camera.spec
src/camera.c

index 2a7afe8..c36c0f7 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-media-camera
 Summary:    A Camera API
-Version:    0.4.77
+Version:    0.4.78
 Release:    0
 Group:      Multimedia/API
 License:    Apache-2.0
index 56cf058..2ac7a71 100644 (file)
@@ -1831,7 +1831,7 @@ static void __camera_add_msg_to_queue(camera_cb_info_s *cb_info, int api, int ev
                if (!cb_info->preview_cb_info.thread) {
                        LOGI("The thread for preview cb is not created yet, create it now");
                        if (!__create_msg_handler_thread(&cb_info->preview_cb_info,
-                               CAMERA_MESSAGE_HANDLER_TYPE_PREVIEW_CB, "cam:preview_cb", cb_info)) {
+                                       CAMERA_MESSAGE_HANDLER_TYPE_PREVIEW_CB, "cam:preview_cb", cb_info)) {
                                CAM_LOG_ERROR("failed to create thread for preview cb");
                                g_free(cam_msg);
                                return;
@@ -2186,14 +2186,14 @@ static camera_cb_info_s *__camera_client_callback_new(gint sockfd)
 
        /* message handler thread */
        if (!__create_msg_handler_thread(&cb_info->msg_handler_info,
-               CAMERA_MESSAGE_HANDLER_TYPE_GENERAL, "cam:msg_handler", cb_info)) {
+                       CAMERA_MESSAGE_HANDLER_TYPE_GENERAL, "cam:msg_handler", cb_info)) {
                CAM_LOG_ERROR("msg_handler_info failed");
                goto ErrorExit;
        }
 
        /* message handler thread for capture callback */
        if (!__create_msg_handler_thread(&cb_info->capture_cb_info,
-               CAMERA_MESSAGE_HANDLER_TYPE_CAPTURE_CB, "cam:capture_cb", cb_info)) {
+                       CAMERA_MESSAGE_HANDLER_TYPE_CAPTURE_CB, "cam:capture_cb", cb_info)) {
                CAM_LOG_ERROR("capture_cb_info failed");
                goto ErrorExit;
        }
@@ -2684,7 +2684,7 @@ int camera_start_preview(camera_h camera)
 
        if (current_state == CAMERA_STATE_CREATED) {
                if (!__create_msg_handler_thread(&pc->cb_info->preview_cb_info,
-                       CAMERA_MESSAGE_HANDLER_TYPE_PREVIEW_CB, "cam:preview_cb", pc->cb_info)) {
+                               CAMERA_MESSAGE_HANDLER_TYPE_PREVIEW_CB, "cam:preview_cb", pc->cb_info)) {
                        CAM_LOG_ERROR("preview_cb_info failed");
                        return CAMERA_ERROR_INVALID_OPERATION;
                }