Name: libmm-player
Summary: Multimedia Framework Player Library
-Version: 0.5.84
+Version: 0.5.85
Release: 0
Group: Multimedia/Libraries
License: Apache-2.0
int mm_player_release_video_stream_bo(MMHandleType player, void* bo);
/**
- * This function is to set mused temp file path.
+ * This function is to set http file buffering path
*
* @param player [in] handle of player
* @param file_path [in] file path
* @see
* @remark None
*/
-int mm_player_set_temp_file_path(MMHandleType player, const char *file_path);
+int mm_player_set_file_buffering_path(MMHandleType player, const char *file_path);
/**
@}
/* streaming player */
mm_player_streaming_t *streamer;
- gchar *http_file_buffer_path;
+ gchar *http_file_buffering_path;
/* gstreamer pipeline */
MMPlayerGstPipelineInfo *pipeline;
int _mmplayer_get_video_share_master_clock(MMHandleType hplayer, long long *video_time, long long *media_clock, long long *audio_time);
int _mmplayer_get_video_rotate_angle(MMHandleType hplayer, int *angle);
int _mmplayer_enable_sync_handler(MMHandleType hplayer, bool enable);
-int _mmplayer_set_temp_file_path(MMHandleType hplayer, const char* file_path);
+int _mmplayer_set_file_buffering_path(MMHandleType hplayer, const char* file_path);
int _mmplayer_set_uri(MMHandleType hplayer, const char* uri);
int _mmplayer_set_next_uri(MMHandleType hplayer, const char* uri, bool is_first_path);
int _mmplayer_get_next_uri(MMHandleType hplayer, char** uri);
return result;
}
-int mm_player_set_temp_file_path(MMHandleType player, const char *file_path)
+int mm_player_set_file_buffering_path(MMHandleType player, const char *file_path)
{
int result = MM_ERROR_NONE;
MMPLAYER_CMD_LOCK( player );
- result = _mmplayer_set_temp_file_path(player, file_path);
+ result = _mmplayer_set_file_buffering_path(player, file_path);
MMPLAYER_CMD_UNLOCK( player );
#define MMPLAYER_USE_FILE_FOR_BUFFERING(player) \
(((player)->profile.uri_type != MM_PLAYER_URI_TYPE_HLS) && \
(player->ini.http_use_file_buffer) && \
- (player->http_file_buffer_path) && \
- (strlen(player->http_file_buffer_path) > 0) )
+ (player->http_file_buffering_path) && \
+ (strlen(player->http_file_buffering_path) > 0) )
#define MM_PLAYER_NAME "mmplayer"
/*---------------------------------------------------------------------------
1.0, // no meaning
player->ini.http_buffering_limit, // no meaning
type,
- player->http_file_buffer_path,
+ player->http_file_buffering_path,
(guint64)dur_bytes);
}
return;
}
-int _mmplayer_set_temp_file_path(MMHandleType hplayer, const char* file_path)
+int _mmplayer_set_file_buffering_path(MMHandleType hplayer, const char* file_path)
{
int result = MM_ERROR_NONE;
mm_player_t* player = (mm_player_t*) hplayer;
MMPLAYER_RETURN_VAL_IF_FAIL (player, MM_ERROR_PLAYER_NOT_INITIALIZED);
if (file_path) {
- player->http_file_buffer_path = (gchar*)file_path;
- LOGD("temp file path: %s\n", player->http_file_buffer_path);
+ player->http_file_buffering_path = (gchar*)file_path;
+ LOGD("temp file path: %s\n", player->http_file_buffering_path);
}
MMPLAYER_FLEAVE();
return result;
1.0,
player->ini.http_buffering_limit,
type,
- player->http_file_buffer_path,
+ player->http_file_buffering_path,
(guint64)dur_bytes);
}
}