summaryrefslogtreecommitdiff
path: root/server/thumb-server-internal.c
diff options
context:
space:
mode:
authorjiyong.min <jiyong.min@samsung.com>2020-04-16 07:05:30 (GMT)
committerjiyong.min <jiyong.min@samsung.com>2020-04-16 08:43:08 (GMT)
commit24233670e8d5fa877de71b0a85a4ef09eeaa9df9 (patch)
treeb4b0b49dbda7d51092822bddf20aa6402a0ab7af /server/thumb-server-internal.c
parent7080a0ebd6bd64e49661e851902ea0312e3d480a (diff)
downloadlibmedia-thumbnail-24233670e8d5fa877de71b0a85a4ef09eeaa9df9.zip
libmedia-thumbnail-24233670e8d5fa877de71b0a85a4ef09eeaa9df9.tar.gz
libmedia-thumbnail-24233670e8d5fa877de71b0a85a4ef09eeaa9df9.tar.bz2
Change resize function to create rotated thumbnailsubmit/tizen/20200416.091150refs/changes/46/230946/3
Change-Id: I038c0048cd6277489dc89320848203fb2a2476cf
Diffstat (limited to 'server/thumb-server-internal.c')
-rwxr-xr-xserver/thumb-server-internal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/thumb-server-internal.c b/server/thumb-server-internal.c
index 294dc80..c3e8f9e 100755
--- a/server/thumb-server-internal.c
+++ b/server/thumb-server-internal.c
@@ -51,7 +51,7 @@ static int __thumbnail_get_data(const char *origin_path, char *thumb_path)
file_type = _media_thumb_get_file_type(origin_path);
if (file_type == THUMB_IMAGE_TYPE) {
- err = create_image_thumbnail_to_file(origin_path, CONTENT_THUMB_DEFAULT_WIDTH, CONTENT_THUMB_DEFAULT_HEIGHT, thumb_path);
+ err = create_image_thumbnail_to_file(origin_path, CONTENT_THUMB_DEFAULT_WIDTH, CONTENT_THUMB_DEFAULT_HEIGHT, thumb_path, true);
} else if (file_type == THUMB_VIDEO_TYPE) {
err = create_video_thumbnail_to_file(origin_path, CONTENT_THUMB_DEFAULT_WIDTH, CONTENT_THUMB_DEFAULT_HEIGHT, thumb_path, true);
} else {