diff options
author | Ji Yong Min <jiyong.min@samsung.com> | 2015-05-13 21:40:19 +0900 |
---|---|---|
committer | Ji Yong Min <jiyong.min@samsung.com> | 2015-05-14 09:23:51 +0900 |
commit | 6ece5e54778f9a8bea3f23f3a932a884be3c9f87 (patch) | |
tree | 31416fd3ece796751014dab252673fc71b278240 /src/ipc/media-thumb-ipc.c | |
parent | 460b807ff06de0d470973db91c96cb8121e912e6 (diff) | |
download | libmedia-thumbnail-6ece5e54778f9a8bea3f23f3a932a884be3c9f87.tar.gz libmedia-thumbnail-6ece5e54778f9a8bea3f23f3a932a884be3c9f87.tar.bz2 libmedia-thumbnail-6ece5e54778f9a8bea3f23f3a932a884be3c9f87.zip |
The color space that is used by thumbnail server is changed to RGB, because gdk support RGB color space.
(Fix broken thumbnail issue)
Change-Id: Id3b5dfa9df57e35a3785eb0b191b020cba995e95
Signed-off-by: jiyong.min <jiyong.min@samsung.com>
Diffstat (limited to 'src/ipc/media-thumb-ipc.c')
-rwxr-xr-x | src/ipc/media-thumb-ipc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ipc/media-thumb-ipc.c b/src/ipc/media-thumb-ipc.c index 6968101..e9d7c0c 100755 --- a/src/ipc/media-thumb-ipc.c +++ b/src/ipc/media-thumb-ipc.c @@ -543,7 +543,8 @@ _media_thumb_process(thumbMsg *req_msg, thumbMsg *res_msg, uid_t uid) media_thumb_type thumb_type = req_msg->thumb_type; const char *origin_path = req_msg->org_path; - media_thumb_format thumb_format = MEDIA_THUMB_BGRA; + // Currently, The color space that is supported by the gdk-pixbuf is only RGB. + media_thumb_format thumb_format = MEDIA_THUMB_RGB888; thumb_path = res_msg->dst_path; thumb_path[0] = '\0'; |