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-thumbnail.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-thumbnail.c')
-rwxr-xr-x | src/media-thumbnail.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/media-thumbnail.c b/src/media-thumbnail.c index dca2285..1099cb5 100755 --- a/src/media-thumbnail.c +++ b/src/media-thumbnail.c @@ -58,7 +58,7 @@ int thumbnail_request_from_db(const char *origin_path, char *thumb_path, int max return MS_MEDIA_ERR_INVALID_PARAMETER; } - thumb_err("Path : %s", origin_path); + thumb_dbg_slog("Path : %s", origin_path); /* Request for thumb file to the daemon "Thumbnail generator" */ err = _media_thumb_request(THUMB_REQUEST_DB_INSERT, MEDIA_THUMB_LARGE, origin_path, thumb_path, max_length, &thumb_info, uid); @@ -130,13 +130,12 @@ int thumbnail_request_from_db_with_size(const char *origin_path, char *thumb_pat return MS_MEDIA_ERR_INVALID_PARAMETER; } - thumb_err("Path : %s", origin_path); + thumb_dbg_slog("Path : %s", origin_path); /* Request for thumb file to the daemon "Thumbnail generator" */ err = _media_thumb_request(THUMB_REQUEST_DB_INSERT, MEDIA_THUMB_LARGE, origin_path, thumb_path, max_length, &thumb_info, uid); if (err != MS_MEDIA_ERR_NONE) { thumb_err("_media_thumb_request failed : %d", err); - //_media_thumb_db_disconnect(); return err; } @@ -188,7 +187,7 @@ int thumbnail_request_from_db_async(const char *origin_path, ThumbFunc func, voi return MS_MEDIA_ERR_INVALID_PARAMETER; } - thumb_err("Path : %s", origin_path); + thumb_dbg_slog("Path : %s", origin_path); thumbUserData *userData = (thumbUserData*)malloc(sizeof(thumbUserData)); userData->func = (ThumbFunc)func; @@ -208,7 +207,7 @@ int thumbnail_request_from_db_async(const char *origin_path, ThumbFunc func, voi int _media_thumbnail_cancel_cb(int error_code, char* path, void* data) { thumb_dbg("Error code : %d", error_code); - if (path) thumb_dbg("Cancel : %s", path); + if (path) thumb_dbg_slog("Cancel : %s", path); return MS_MEDIA_ERR_NONE; } |