From: Haesu Gwon Date: Tue, 26 Apr 2016 02:35:13 +0000 (+0900) Subject: [Release version 0.2.52] Fix coding rule violation X-Git-Tag: accepted/tizen/common/20160426.143723^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F27%2F67227%2F1;p=platform%2Fcore%2Fapi%2Fcamera.git [Release version 0.2.52] Fix coding rule violation Change-Id: Ie6b9412f5c6608805ea0b1ce2e409712c922271b Signed-off-by: Haesu Gwon --- diff --git a/packaging/capi-media-camera.spec b/packaging/capi-media-camera.spec index fca52aa..282afdb 100644 --- a/packaging/capi-media-camera.spec +++ b/packaging/capi-media-camera.spec @@ -3,7 +3,7 @@ Name: capi-media-camera Summary: A Camera API -Version: 0.2.51 +Version: 0.2.52 Release: 0 Group: Multimedia/API License: Apache-2.0 diff --git a/src/camera.c b/src/camera.c index b70bd41..fbfe46d 100644 --- a/src/camera.c +++ b/src/camera.c @@ -2711,11 +2711,10 @@ int camera_set_display(camera_h camera, camera_display_type_e type, camera_displ } else muse_camera_msg_send1(api, sock_fd, cb_info, ret, INT, type); - if (ret != CAMERA_ERROR_NONE) { + if (ret != CAMERA_ERROR_NONE) LOGE("set display error 0x%x", ret); - } else if (type == CAMERA_DISPLAY_TYPE_EVAS) { + else if (type == CAMERA_DISPLAY_TYPE_EVAS) SET_PREVIEW_CB_TYPE(cb_info, PREVIEW_CB_TYPE_EVAS); - } return ret; } @@ -2882,7 +2881,7 @@ int camera_set_display_rotation(camera_h camera, camera_rotation_e rotation) g_mutex_unlock(&pc->cb_info->evas_mutex); - if (ret!= MM_ERROR_NONE) { + if (ret != MM_ERROR_NONE) { LOGE("failed to set rotation for evas surface 0x%x", ret); return CAMERA_ERROR_INVALID_OPERATION; } @@ -2966,7 +2965,7 @@ int camera_set_display_flip(camera_h camera, camera_flip_e flip) g_mutex_unlock(&pc->cb_info->evas_mutex); - if (ret!= MM_ERROR_NONE) { + if (ret != MM_ERROR_NONE) { LOGE("failed to set flip for evas surface 0x%x", ret); return CAMERA_ERROR_INVALID_OPERATION; } diff --git a/src/camera_internal.c b/src/camera_internal.c index b783041..ac76cfd 100644 --- a/src/camera_internal.c +++ b/src/camera_internal.c @@ -38,4 +38,4 @@ int camera_start_evas_rendering(camera_h camera) int camera_stop_evas_rendering(camera_h camera, bool keep_screen) { return _camera_stop_evas_rendering(camera, keep_screen); -} \ No newline at end of file +}