Updates color enums for refactoring of libmm-utility 45/169945/1 accepted/tizen/unified/20180214.144610 submit/tizen/20180212.075159
authorJiyong Min <jiyong.min@samsung.com>
Mon, 12 Feb 2018 08:13:45 +0000 (17:13 +0900)
committerJiyong Min <jiyong.min@samsung.com>
Mon, 12 Feb 2018 08:14:28 +0000 (17:14 +0900)
Change-Id: Id1e54b842ba095b783868dac7a03af458d6c2210

packaging/libmedia-service.spec
src/common/media-svc-util.c

index 4e5a9cd..29c32e9 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmedia-service
 Summary:    Media information service library for multimedia applications
-Version: 0.3.25
+Version: 0.3.26
 Release:    0
 Group:      Multimedia/Libraries
 License:    Apache-2.0 and PD
index a0bc2d8..85636ff 100755 (executable)
@@ -1963,7 +1963,7 @@ int _media_svc_create_thumbnail(const char *path, char *thumb_path, int max_leng
 
                        media_svc_debug("Origin:W[%d] H[%d] Proper:W[%d] H[%d]", origin_w, origin_h, thumb_w, thumb_h);
 
-                       ret = mm_util_create_handle(&img, (unsigned char *)frame, origin_w, origin_h, size, MM_UTIL_IMG_FMT_RGB888);
+                       ret = mm_util_create_handle(&img, (unsigned char *)frame, origin_w, origin_h, size, MM_UTIL_COLOR_RGB24);
                        if (origin_w > thumb_w || origin_h > thumb_h) {
                                if (rot_type != MM_UTIL_ROTATE_0) {
                                        ret = mm_util_resize_B_B(img, thumb_w, thumb_h, &resize_img);