From 7ab6cb878f92c3d4d7956d744d99402e24ac8e35 Mon Sep 17 00:00:00 2001 From: Minje Ahn Date: Tue, 19 Mar 2024 08:08:52 +0900 Subject: [PATCH] Remove unused product API Change-Id: I37ffa7f2a3bdfa3e4cd81e27295ddda40b23f884 Signed-off-by: Minje Ahn --- include_product/media_content_product.h | 1 - src/media_info.c | 12 ------------ test/media-content_test.c | 3 --- 3 files changed, 16 deletions(-) diff --git a/include_product/media_content_product.h b/include_product/media_content_product.h index 2e1e2c6..2c3c3f9 100755 --- a/include_product/media_content_product.h +++ b/include_product/media_content_product.h @@ -53,7 +53,6 @@ int media_info_delete_from_db(const char *media_id); */ int media_info_get_extract_flag(media_info_h media, int *extract_flag); int media_info_get_stitched_state(media_info_h media, int *type_360); -int media_info_get_stitched_engine(media_info_h media, int *type_360); /** * @brief Gets the content's played position parameter. * @details Function returns content's elapsed playback position parameter as period diff --git a/src/media_info.c b/src/media_info.c index c98e6a9..f9d7ce5 100644 --- a/src/media_info.c +++ b/src/media_info.c @@ -1187,18 +1187,6 @@ int media_info_get_stitched_state(media_info_h media, int *stitched_info) return MEDIA_CONTENT_ERROR_NONE; } -int media_info_get_stitched_engine(media_info_h media, int *stitched_info) -{ - media_info_s *_media = (media_info_s*)media; - - content_retip_if_fail(media); - content_retip_if_fail(stitched_info); - - *stitched_info = _media->stitched_info & 0x0000FFFF; - - return MEDIA_CONTENT_ERROR_NONE; -} - int media_info_get_modified_month(media_info_h media, char **modified_month) { media_info_s *_media = (media_info_s*)media; diff --git a/test/media-content_test.c b/test/media-content_test.c index bcab5ac..13adea4 100755 --- a/test/media-content_test.c +++ b/test/media-content_test.c @@ -251,9 +251,6 @@ static void get_media_meta(media_info_h media) #ifdef _USE_TVPD_MODE if (media_info_get_stitched_state(media, &i_value) == MEDIA_CONTENT_ERROR_NONE) content_debug("360 stitched : [%d]", i_value); - - if (media_info_get_stitched_engine(media, &i_value) == MEDIA_CONTENT_ERROR_NONE) - content_debug("360 engine : [%d]", i_value); #endif if (media_type == MEDIA_CONTENT_TYPE_MUSIC) -- 2.7.4