summaryrefslogtreecommitdiff
path: root/src/media-thumbnail.c
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2015-06-08 07:33:26 (GMT)
committerMinje Ahn <minje.ahn@samsung.com>2015-06-08 07:33:26 (GMT)
commitb17f8d10bf16779c62c4e2b267d2bdc716ccfdac (patch)
treef4572cb3d19abe5c93bb331ae639eb54d5a123dc /src/media-thumbnail.c
parent9c534f334a71a5250c9411cc53c83cd72e3b7e74 (diff)
downloadlibmedia-thumbnail-b17f8d10bf16779c62c4e2b267d2bdc716ccfdac.zip
libmedia-thumbnail-b17f8d10bf16779c62c4e2b267d2bdc716ccfdac.tar.gz
libmedia-thumbnail-b17f8d10bf16779c62c4e2b267d2bdc716ccfdac.tar.bz2
Update error log.refs/changes/93/40693/1
Change-Id: I632eda45a7b46927b5c5be9e98cebd30aefc69d4 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'src/media-thumbnail.c')
-rwxr-xr-xsrc/media-thumbnail.c9
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;
}