[RQ170615-00007] fix invalid format argument types for dlog 95/134295/1 accepted/tizen/unified/20170630.083035 submit/tizen/20170616.053948
authorHaejeong Kim <backto.kim@samsung.com>
Fri, 16 Jun 2017 01:14:55 +0000 (10:14 +0900)
committerHaejeong Kim <backto.kim@samsung.com>
Fri, 16 Jun 2017 01:14:55 +0000 (10:14 +0900)
Change-Id: Iae86a09977d0e91799e1895335af2efd4bf8dccd

packaging/capi-media-image-util.spec
src/image_util.c

index b7a9b15..9ee01c6 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       capi-media-image-util
 Summary:    A Image Utility library in Tizen Native API
-Version:    0.1.17
+Version:    0.1.18
 Release:    2
 Group:      Multimedia/API
 License:    Apache-2.0
index 914d824..f9287dc 100755 (executable)
@@ -424,8 +424,6 @@ int image_util_transform_get_colorspace(transformation_h handle, image_util_colo
        int ret = IMAGE_UTIL_ERROR_NONE;
        transformation_s *_handle = (transformation_s *) handle;
 
-       image_util_debug("Get colorspace_convert_info [%d]", colorspace);
-
        if (_handle == NULL) {
                image_util_error("Invalid Handle");
                return IMAGE_UTIL_ERROR_INVALID_PARAMETER;
@@ -441,7 +439,10 @@ int image_util_transform_get_colorspace(transformation_h handle, image_util_colo
                return IMAGE_UTIL_ERROR_INVALID_OPERATION;
        }
 
+       image_util_debug("Get colorspace_convert_info [%d]", _handle->colorspace);
+
        *colorspace = _handle->colorspace;
+
        return ret;
 }
 
@@ -450,8 +451,6 @@ int image_util_transform_get_resolution(transformation_h handle, unsigned int *w
        int ret = IMAGE_UTIL_ERROR_NONE;
        transformation_s *_handle = (transformation_s *) handle;
 
-       image_util_debug("Set resize_info w[%d] h[%d]", width, height);
-
        if (_handle == NULL) {
                image_util_error("Invalid Handle");
                return IMAGE_UTIL_ERROR_INVALID_PARAMETER;
@@ -467,6 +466,8 @@ int image_util_transform_get_resolution(transformation_h handle, unsigned int *w
                return IMAGE_UTIL_ERROR_INVALID_OPERATION;
        }
 
+       image_util_debug("Get resize_info w[%ui] h[%ui]", _handle->width, _handle->height);
+
        *width = _handle->width;
        *height = _handle->height;
 
@@ -478,8 +479,6 @@ int image_util_transform_get_rotation(transformation_h handle, image_util_rotati
        int ret = IMAGE_UTIL_ERROR_NONE;
        transformation_s *_handle = (transformation_s *) handle;
 
-       image_util_debug("Set rotate_info [%d]", rotation);
-
        if (_handle == NULL) {
                image_util_error("Invalid Handle");
                return IMAGE_UTIL_ERROR_INVALID_PARAMETER;
@@ -495,6 +494,8 @@ int image_util_transform_get_rotation(transformation_h handle, image_util_rotati
                return IMAGE_UTIL_ERROR_INVALID_OPERATION;
        }
 
+       image_util_debug("Get rotate_info [%d]", _handle->rotation);
+
        *rotation = _handle->rotation;
 
        return ret;