/**
* @ingroup CAPI_MEDIA_CAMERA_MODULE
* @defgroup CAPI_MEDIA_CAMERA_ATTRIBUTES_MODULE Attributes
- * @brief The @ref CAPI_MEDIA_CAMERA_ATTRIBUTES_MODULE API provides functions to fetch camera attributes.
+ * @brief The @ref CAPI_MEDIA_CAMERA_ATTRIBUTES_MODULE API provides functions to fetch camera attributes.
*
* @section CAPI_MEDIA_CAMERA_ATTRIBUTES_MODULE_HEADER Required Header
* \#include <camera.h>
Name: capi-media-camera
Summary: A Camera API
-Version: 0.2.47
+Version: 0.2.48
Release: 0
Group: Multimedia/API
License: Apache-2.0
LOGD("binding tizen surface for wayland");
*tz_surface = wl_registry_bind(registry, name, &tizen_surface_interface, version);
- if (*tz_surface == NULL) {
+ if (*tz_surface == NULL)
LOGE("failed to bind");
- }
LOGD("done");
}
return;
}
-static const struct wl_registry_listener _camera_wl_registry_listener =
-{
+static const struct wl_registry_listener _camera_wl_registry_listener = {
__global,
__global_remove
};
*((unsigned int *)data) = id;
- LOGD("[CLIENT] got parent_id [%u] from server", id);
+ LOGD("[CLIENT] got parent_id [%u] from server", id);
return;
}
-static const struct tizen_resource_listener _camera_tz_resource_listener =
-{
+static const struct tizen_resource_listener _camera_tz_resource_listener = {
__parent_id_getter
};
err = scanf("%d", &idx);
bret = camera_attr_set_flash_mode(hcamcorder->camera, idx);
break;
- case 'S' : // Setting > flash state
+ case 'S': /* Setting > flash state */
g_print("*flash state\n");
err = camera_get_flash_state(cam_info, (camera_flash_state_e *)&idx);
if (CAMERA_ERROR_NONE == err)
- g_print("Current flash state = %s\n", idx?"ON":"OFF");
+ g_print("Current flash state = %s\n", idx ? "ON" : "OFF");
else
g_print("* Error : %d\n", err);
break;