From: Eunhae Choi Date: Wed, 9 Jan 2019 06:00:22 +0000 (+0900) Subject: [0.2.97] remove setting file path code X-Git-Tag: submit/tizen/20190123.015108~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bafc69b83eec8191cb756470fecb6b16c03fe877;p=platform%2Fcore%2Fmultimedia%2Fmmsvc-player.git [0.2.97] remove setting file path code - player do not need the file download path because the file buffering is removed. Change-Id: I62509689867b4ec2781952aa8d57242c9960db83 --- diff --git a/legacy/include/legacy_player.h b/legacy/include/legacy_player.h index 429192c..3a1e30c 100644 --- a/legacy/include/legacy_player.h +++ b/legacy/include/legacy_player.h @@ -1996,19 +1996,6 @@ int legacy_player_get_timeout_for_muse(player_h player, int *timeout); */ int legacy_player_get_num_of_video_out_buffers(player_h player, int *num, int *extra_num); -/** - * @brief Sets file path for buffering - * @since_tizen 3.0 - * @param[in] player The handle to the media player - * @param[in] file_path The file path for buffering - * @return @c 0 on success, - * otherwise a negative error value - * @retval #PLAYER_ERROR_NONE Successful - * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter - * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation - */ -int legacy_player_set_file_buffering_path(player_h player, const char *file_path); - /** * @brief Retrieves all the streaming variant information. * @since_tizen 4.0 diff --git a/legacy/src/legacy_player.c b/legacy/src/legacy_player.c index 17455fc..b4f4269 100644 --- a/legacy/src/legacy_player.c +++ b/legacy/src/legacy_player.c @@ -2530,21 +2530,6 @@ int legacy_player_get_num_of_video_out_buffers(player_h player, int *num, int *e return PLAYER_ERROR_NONE; } -int legacy_player_set_file_buffering_path(player_h player, const char *file_path) -{ - player_s *handle = (player_s *)player; - int ret = MM_ERROR_NONE; - PLAYER_INSTANCE_CHECK(player); - PLAYER_NULL_ARG_CHECK(file_path); - PLAYER_STATE_CHECK(handle, PLAYER_STATE_IDLE); - - ret = mm_player_set_file_buffering_path(handle->mm_handle, file_path); - if (ret != MM_ERROR_NONE) - return __player_convert_error_code(ret, (char *)__FUNCTION__); - - return PLAYER_ERROR_NONE; -} - int legacy_player_manage_external_storage_state(player_h player, int id, int state) { player_s *handle = (player_s *)player; diff --git a/muse/src/muse_player.c b/muse/src/muse_player.c index 0e22a6b..ddc02f0 100644 --- a/muse/src/muse_player.c +++ b/muse/src/muse_player.c @@ -1496,14 +1496,6 @@ int player_disp_set_uri(muse_module_h module) ret = legacy_player_set_uri(muse_player->player_handle, path); PLAYER_RETURN_MSG(api, ret, module); - - if (ret == PLAYER_ERROR_NONE) { - const char *file_buffering_path = muse_server_module_get_temporal_path(); - - LOGD("file buffering path : %s", file_buffering_path); - if (file_buffering_path) - legacy_player_set_file_buffering_path(muse_player->player_handle, file_buffering_path); - } return ret; } diff --git a/packaging/mmsvc-player.spec b/packaging/mmsvc-player.spec index 2bf9856..d61b417 100644 --- a/packaging/mmsvc-player.spec +++ b/packaging/mmsvc-player.spec @@ -1,6 +1,6 @@ Name: mmsvc-player Summary: A Media Player module for muse server -Version: 0.2.96 +Version: 0.2.97 Release: 0 Group: Multimedia/Libraries License: Apache-2.0