From: Fahmi Kazi Md Date: Wed, 12 Jun 2024 11:54:59 +0000 (-0400) Subject: Removed deprecated API X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen;p=profile%2Fiot%2Fapps%2Fnative%2Fvideo-player.git Removed deprecated API [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 --- 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."); } }