diff options
author | Minje Ahn <minje.ahn@samsung.com> | 2015-06-08 16:33:26 +0900 |
---|---|---|
committer | Minje Ahn <minje.ahn@samsung.com> | 2015-06-08 16:33:26 +0900 |
commit | b17f8d10bf16779c62c4e2b267d2bdc716ccfdac (patch) | |
tree | f4572cb3d19abe5c93bb331ae639eb54d5a123dc /src/media-thumb-internal.c | |
parent | 9c534f334a71a5250c9411cc53c83cd72e3b7e74 (diff) | |
download | libmedia-thumbnail-b17f8d10bf16779c62c4e2b267d2bdc716ccfdac.tar.gz libmedia-thumbnail-b17f8d10bf16779c62c4e2b267d2bdc716ccfdac.tar.bz2 libmedia-thumbnail-b17f8d10bf16779c62c4e2b267d2bdc716ccfdac.zip |
Update error log.
Change-Id: I632eda45a7b46927b5c5be9e98cebd30aefc69d4
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'src/media-thumb-internal.c')
-rwxr-xr-x | src/media-thumb-internal.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/media-thumb-internal.c b/src/media-thumb-internal.c index 2ca640d..12e36f2 100755 --- a/src/media-thumb-internal.c +++ b/src/media-thumb-internal.c @@ -134,7 +134,7 @@ int _media_thumb_get_exif_info(ExifData *ed, char *buf, int max_size, int *value tag == EXIF_TAG_PIXEL_Y_DIMENSION) { if (value == NULL) { - thumb_dbg("value is NULL"); + thumb_err("value is NULL"); return MS_MEDIA_ERR_INVALID_PARAMETER; } @@ -145,7 +145,7 @@ int _media_thumb_get_exif_info(ExifData *ed, char *buf, int max_size, int *value } else { /* Get the contents of the tag in human-readable form */ if (buf == NULL) { - thumb_dbg("buf is NULL"); + thumb_err("buf is NULL"); return MS_MEDIA_ERR_INVALID_PARAMETER; } exif_entry_get_value(entry, buf, max_size); @@ -160,8 +160,8 @@ int _media_thumb_get_exif_info(ExifData *ed, char *buf, int max_size, int *value return MS_MEDIA_ERR_NONE; } -int _media_thumb_get_thumb_from_exif(ExifData *ed, - const char *file_full_path, +int _media_thumb_get_thumb_from_exif(ExifData *ed, + const char *file_full_path, int orientation, int required_width, int required_height, @@ -191,7 +191,7 @@ int _media_thumb_get_thumb_from_exif(ExifData *ed, if (entry) { /* Get the contents of the tag in human-readable form */ ExifShort value = exif_get_short(entry->data, byte_order); - //thumb_dbg("%s: %d\n", exif_tag_get_name_in_ifd(tag,ifd), value); + //thumb_dbg("%s: %d", exif_tag_get_name_in_ifd(tag,ifd), value); if (value == 6) { thumb_dbg("There's jpeg thumb in this image"); @@ -1183,7 +1183,7 @@ int _media_thumb_video(const char *origin_path, g_object_unref(pixbuf); } else { - thumb_dbg("no contents information\n"); + thumb_dbg("no contents information"); frame = NULL; mm_file_destroy_content_attrs(content); |