summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2020-04-23 15:49:54 +0900
committerMinje Ahn <minje.ahn@samsung.com>2020-04-23 15:49:54 +0900
commitc0f650b5d543dd07afaa98a5e04a42bfe6425e16 (patch)
treedbd2f81904911382fb10d2e218dd68622f0dc99f /server
parentbfb2b810db4a5c35eee884de0d7fe6bdae3ef270 (diff)
downloadlibmedia-thumbnail-c0f650b5d543dd07afaa98a5e04a42bfe6425e16.tar.gz
libmedia-thumbnail-c0f650b5d543dd07afaa98a5e04a42bfe6425e16.tar.bz2
libmedia-thumbnail-c0f650b5d543dd07afaa98a5e04a42bfe6425e16.zip
Change-Id: Ic80e0951622747c62d97bbba5370b3b935e0c8a9 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'server')
-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 bd43605..4f1e5f9 100755
--- a/server/thumb-server-internal.c
+++ b/server/thumb-server-internal.c
@@ -78,7 +78,7 @@ static int __thumbnail_get_raw_data(const char *origin_path, unsigned int *width
if (file_type == THUMB_IMAGE_TYPE) {
err = create_image_thumbnail_to_buffer(origin_path, *width, *height, data, size, width, height);
} else if (file_type == THUMB_VIDEO_TYPE) {
- err = create_video_thumbnail_to_buffer(origin_path, *width, *height, data, size, width, height, true);
+ err = create_video_thumbnail_to_buffer(origin_path, *width, *height, data, size, width, height, true, true);
} else {
thumb_err("invalid file type");
return MS_MEDIA_ERR_THUMB_UNSUPPORTED;