summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2018-07-17 07:14:20 (GMT)
committerMinje Ahn <minje.ahn@samsung.com>2018-07-17 07:14:20 (GMT)
commit60cb59fe31c8e61be1918d2749810aa36b885be3 (patch)
treed6937a1ac076325225f728b869131a86d6cb3d78
parent7c69a752fe648c40dc02c40abbde669eeaa07109 (diff)
downloadlibmedia-thumbnail-60cb59fe31c8e61be1918d2749810aa36b885be3.zip
libmedia-thumbnail-60cb59fe31c8e61be1918d2749810aa36b885be3.tar.gz
libmedia-thumbnail-60cb59fe31c8e61be1918d2749810aa36b885be3.tar.bz2
Unifies the thumbnail path regardless of the storage type Change-Id: I3420b5c7ba7a6441bb44151f25d199978c9aa121 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
-rw-r--r--packaging/libmedia-thumbnail.spec2
-rwxr-xr-xsrc/media-thumb-internal.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/packaging/libmedia-thumbnail.spec b/packaging/libmedia-thumbnail.spec
index c01806e..542655a 100644
--- a/packaging/libmedia-thumbnail.spec
+++ b/packaging/libmedia-thumbnail.spec
@@ -1,6 +1,6 @@
Name: libmedia-thumbnail
Summary: Media thumbnail service library for multimedia applications
-Version: 0.2.22
+Version: 0.2.23
Release: 0
Group: Multimedia/Libraries
License: Apache-2.0 and PD
diff --git a/src/media-thumb-internal.c b/src/media-thumb-internal.c
index 44b9d88..47051d4 100755
--- a/src/media-thumb-internal.c
+++ b/src/media-thumb-internal.c
@@ -361,7 +361,7 @@ int _media_thumb_get_hash_name(const char *file_full_path, char *thumb_hash_path
return MS_MEDIA_ERR_INTERNAL;
}
- ret = ms_user_get_thumb_store_path(uid, storage_type, storage_id, &get_path);
+ ret = ms_user_get_root_thumb_store_path(uid, &get_path);
SAFE_FREE(storage_id);
if (get_path != NULL)
ret_len = snprintf(thumb_hash_path, max_thumb_path - 1, "%s/.%s-%s.jpg", get_path, file_ext, hash_name);