diff options
author | Fahmi Kazi Md <fahmi.k@partner.samsung.com> | 2024-06-12 07:54:59 -0400 |
---|---|---|
committer | Fahmi Kazi Md <fahmi.k@partner.samsung.com> | 2024-06-12 08:22:24 -0400 |
commit | 227b86a6882d4ea8338409dde5c98c9e4ebafab8 (patch) | |
tree | 3b98779b2c0c17499a9b60a8197b1aae2c1be919 | |
parent | 6258e4f9c271404da55e2d17265bb50cad685231 (diff) | |
download | video-player-227b86a6882d4ea8338409dde5c98c9e4ebafab8.tar.gz video-player-227b86a6882d4ea8338409dde5c98c9e4ebafab8.tar.bz2 video-player-227b86a6882d4ea8338409dde5c98c9e4ebafab8.zip |
Removed deprecated APItizen
[Project] Video_Player
[BinType] AP
[Customer] ALL
[Issue#] N/A
[Request] Dev
[Occurrence Version] 1.0.40
[Problem] Build errors due to deprecated APIs
[Cause & Measure] Updated the APIs
[Checking Method] Self-test
[Team] Galaxy Buds
[Developer] Fahmi Kazi Md. [fahmi.k>]
[Solution company] SRBD
[Change Type] Deprecated API Change
Change-Id: Ieacf114ec5d37caaf283173b06a1362c2f04d859
Signed-off-by: Fahmi Kazi Md <fahmi.k@partner.samsung.com>
-rwxr-xr-x | src/common/mp-util-media-service.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/common/mp-util-media-service.c b/src/common/mp-util-media-service.c index c513cc2..84324bb 100755 --- a/src/common/mp-util-media-service.c +++ b/src/common/mp-util-media-service.c @@ -1868,13 +1868,6 @@ void mp_util_svc_register_thumbnail_update_func(int nVideoItemIndex, if(ret != MEDIA_CONTENT_ERROR_NONE) { VideoLogError("Failed to generate thumbnail"); } - media_thumbnail_completed_cb completed_cb = (media_thumbnail_completed_cb)pUserCallbackFunc; - if(completed_cb) { - char *path = NULL; - media_info_get_thumbnail_path(pVideoItem, &path); - completed_cb(ret, path, pUserData); - MP_FREE_STRING(path); - } } /** @@ -1895,13 +1888,7 @@ void mp_util_svc_cancel_thumbnail_update(int nVideoItemIndex) media_info_h pVideoItem = (media_info_h) eina_list_nth(VideoItemList, nVideoItemIndex); - if (pVideoItem) { - if (media_info_cancel_thumbnail(pVideoItem) != - MEDIA_CONTENT_ERROR_NONE) { - VideoLogWarning("media_info_cancel_thumbnail is Fail"); - return; - } - } else { + if (!pVideoItem) { VideoLogError("[ERR] pVideoItem is not existed."); } } |