[0.2.97] remove setting file path code 66/197066/1
authorEunhae Choi <eunhae1.choi@samsung.com>
Wed, 9 Jan 2019 06:00:22 +0000 (15:00 +0900)
committerEunhae Choi <eunhae1.choi@samsung.com>
Wed, 9 Jan 2019 07:28:10 +0000 (16:28 +0900)
- player do not need the file download path
  because the file buffering is removed.

Change-Id: I62509689867b4ec2781952aa8d57242c9960db83

legacy/include/legacy_player.h
legacy/src/legacy_player.c
muse/src/muse_player.c
packaging/mmsvc-player.spec

index 429192c..3a1e30c 100644 (file)
@@ -1997,19 +1997,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
  * @remarks This API is used for adaptive streaming(hls/mpeg dash) only.
index 17455fc..b4f4269 100644 (file)
@@ -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;
index 0e22a6b..ddc02f0 100644 (file)
@@ -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;
 }
 
index 2bf9856..d61b417 100644 (file)
@@ -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