Fix thumbnail generation bug 01/224401/1
authorMinje Ahn <minje.ahn@samsung.com>
Mon, 10 Feb 2020 08:29:01 +0000 (17:29 +0900)
committerMinje Ahn <minje.ahn@samsung.com>
Mon, 10 Feb 2020 08:29:01 +0000 (17:29 +0900)
Fix a bug that caused the db updates to fail when creating thumbnails of media in external storage

Change-Id: I48e0af8534c742d7aad9d8cb6c8730192d9c759e
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
packaging/capi-content-media-content.spec
src/media_info.c

index bc02020d3b46e27a8944764b965f12f642fd37b4..639ba1c6a5fb36eae7aacc926442ab73baea9dcb 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-content-media-content
 Summary:    A Media content library in Tizen Native API
-Version:    0.4.7
+Version:    0.4.8
 Release:    0
 Group:      Multimedia/API
 License:    Apache-2.0
index fcc137e04cd1f95aae9108a2bf0b596871b1d2a4..9cbce478e8c168b259b982aed3cddb42bbcabddd 100644 (file)
@@ -2003,7 +2003,7 @@ int media_info_generate_thumbnail(media_info_h media)
                if (STRING_VALID(_media->thumbnail_path))
                        return MEDIA_CONTENT_ERROR_NONE;
 
-               ret = media_svc_create_thumbnail(_media->storage_uuid, _media->file_path, _media->media_type, _content_get_uid(), &thumb_path);
+               ret = media_svc_create_thumbnail(_media->file_path, _media->media_type, _content_get_uid(), &thumb_path);
                ret = _content_error_capi(ret);
                if (ret == MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT) {
                        SAFE_FREE(thumb_path);