change naming to set file buffer path 90/76790/1 accepted/tizen/common/20160629.222531 accepted/tizen/ivi/20160629.020751 accepted/tizen/mobile/20160629.020846 accepted/tizen/tv/20160629.020800 accepted/tizen/wearable/20160629.020823 submit/tizen/20160628.080717
authorEunhae Choi <eunhae1.choi@samsung.com>
Mon, 27 Jun 2016 08:40:51 +0000 (17:40 +0900)
committerEunhae Choi <eunhae1.choi@samsung.com>
Mon, 27 Jun 2016 08:40:51 +0000 (17:40 +0900)
Change-Id: I8b461a29499e62c20f47a57cc343c17224145acd

packaging/libmm-player.spec
src/include/mm_player.h
src/include/mm_player_priv.h
src/mm_player.c
src/mm_player_priv.c

index d8d737e..07f012c 100644 (file)
@@ -1,6 +1,6 @@
 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
index 3b77e98..28a5b47 100644 (file)
@@ -2327,7 +2327,7 @@ int mm_player_set_media_stream_dynamic_resolution(MMHandleType player, bool drc)
 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
@@ -2336,7 +2336,7 @@ int mm_player_release_video_stream_bo(MMHandleType player, void* bo);
  * @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);
 
 /**
        @}
index c435bdd..8d43d0b 100644 (file)
@@ -518,7 +518,7 @@ typedef struct {
 
        /* streaming player */
        mm_player_streaming_t *streamer;
-       gchar *http_file_buffer_path;
+       gchar *http_file_buffering_path;
 
        /* gstreamer pipeline */
        MMPlayerGstPipelineInfo *pipeline;
@@ -854,7 +854,7 @@ int _mmplayer_set_video_share_master_clock(MMHandleType hplayer, long long clock
 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);
index 258abb9..d243294 100644 (file)
@@ -1328,7 +1328,7 @@ int mm_player_release_video_stream_bo(MMHandleType player, void* bo)
        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;
 
@@ -1336,7 +1336,7 @@ int mm_player_set_temp_file_path(MMHandleType player, const char *file_path)
 
        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 );
 
index 6c89ccb..3688d3d 100644 (file)
@@ -99,8 +99,8 @@
 #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"
 
 /*---------------------------------------------------------------------------
@@ -11403,7 +11403,7 @@ __mmplayer_try_to_plug_decodebin(mm_player_t* player, GstPad *srcpad, const GstC
                                                                                                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);
                        }
 
@@ -12682,7 +12682,7 @@ ERROR:
        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;
@@ -12691,8 +12691,8 @@ int _mmplayer_set_temp_file_path(MMHandleType hplayer, const char* file_path)
        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;
@@ -13989,7 +13989,7 @@ const char *padname, const GList *templlist)
                                                        1.0,
                                                        player->ini.http_buffering_limit,
                                                        type,
-                                                       player->http_file_buffer_path,
+                                                       player->http_file_buffering_path,
                                                        (guint64)dur_bytes);
                                        }
                                }