} 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;
}
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;
}
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;
}
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
+}