[v0.3.28] remove unnecessary logs 63/92063/1 accepted/tizen/common/20161018.175415 accepted/tizen/ivi/20161019.093221 accepted/tizen/mobile/20161019.093136 accepted/tizen/tv/20161019.093200 accepted/tizen/wearable/20161019.093208 submit/tizen/20161018.110515
authorGilbok Lee <gilbok.lee@samsung.com>
Thu, 13 Oct 2016 05:59:01 +0000 (14:59 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Thu, 13 Oct 2016 05:59:01 +0000 (14:59 +0900)
Change-Id: Iec2b964ad02f1841ac5a9273674f194c99193456

src/player.c
src/player_internal.c
test/player_es_push_test.c

index 7e5a33d..37377f3 100644 (file)
@@ -833,7 +833,7 @@ static void __audio_frame_cb_handler(callback_cb_info_s * cb_info, _player_recv_
        memcpy(&audio, thandle.ptr, sizeof(player_audio_raw_data_s));
        audio.data = thandle.ptr + sizeof(player_audio_raw_data_s);
 
-       LOGD("user callback data %p, size %d", audio.data, audio.size);
+       /* LOGD("user callback data %p, size %d", audio.data, audio.size); */
        ((player_audio_pcm_extraction_cb) cb_info->user_cb[MUSE_PLAYER_EVENT_TYPE_AUDIO_FRAME]) (&audio, cb_info->user_data[MUSE_PLAYER_EVENT_TYPE_AUDIO_FRAME]);
        tbm_bo_unmap(bo);
 
@@ -847,7 +847,7 @@ EXIT:
 
        /* return buffer */
        if (key > INVALID_DEFAULT_VALUE) {
-               LOGD("send msg to release buffer. key:%d", key);
+               /* LOGD("send msg to release buffer. key:%d", key); */
                player_msg_send1_no_return(MUSE_PLAYER_API_RETURN_BUFFER, cb_info->fd, INT, key);
        }
 }
@@ -1008,7 +1008,7 @@ gboolean _player_event_job_function(void *user_data)
                return FALSE;
        }
 
-       LOGD("enter ev:%d", data->int_data);
+       /* LOGD("enter ev:%d", data->int_data); */
 
        g_mutex_lock(&data->event_mutex);
 
@@ -1017,7 +1017,7 @@ gboolean _player_event_job_function(void *user_data)
        /* remove event from list */
        g_mutex_lock(&data->cb_info->event_queue.idle_ev_mutex);
        if (data->cb_info->event_queue.idle_ev_list) {
-               LOGD("remove idle event %p, %p", data, data->cb_info->event_queue.idle_ev_list);
+               /* LOGD("remove idle event %p, %p", data, data->cb_info->event_queue.idle_ev_list); */
                data->cb_info->event_queue.idle_ev_list = g_list_remove(data->cb_info->event_queue.idle_ev_list, (gpointer)data);
        }
        g_mutex_unlock(&data->cb_info->event_queue.idle_ev_mutex);
@@ -1252,7 +1252,7 @@ static void _player_event_queue_add(player_event_queue * ev, _player_cb_data * d
 
 static void _user_callback_handler(callback_cb_info_s * cb_info, muse_player_event_e event, _player_recv_data *recv_data)
 {
-       LOGD("get event %d", event);
+       /* LOGD("get event %d", event); */
 
        if (event < MUSE_PLAYER_EVENT_TYPE_NUM) {
                if (cb_info->user_cb[event] && _user_callbacks[event]) {
index 2c32cbc..0eb448b 100644 (file)
@@ -299,7 +299,7 @@ int player_get_next_uri(player_h player, char **uri)
                player_msg_get_string(next_uri, ret_buf);
 
                char dest[MUSE_MSG_MAX_LENGTH] = {0,};
-               if(storage_get_compat_internal_path(next_uri, sizeof(dest), dest) < 0) {
+               if (storage_get_compat_internal_path(next_uri, sizeof(dest), dest) < 0) {
                        /* cannot convert path. use the original one. */
                        *uri = strndup(next_uri, MUSE_MSG_MAX_LENGTH);
                } else {
index 4fa8a14..4846c72 100644 (file)
@@ -451,20 +451,18 @@ static void feed_video_data_thread_func(void *data)
 
 void _video_buffer_status_cb_ex(player_media_stream_buffer_status_e status, unsigned long long bytes, void *user_data)
 {
-       if (status == PLAYER_MEDIA_STREAM_BUFFER_UNDERRUN) {
+       if (status == PLAYER_MEDIA_STREAM_BUFFER_UNDERRUN)
                LOGE("video buffer is underrun state, current level byte = %llu", bytes);
-       } else if (status == PLAYER_MEDIA_STREAM_BUFFER_OVERFLOW) {
+       else if (status == PLAYER_MEDIA_STREAM_BUFFER_OVERFLOW)
                LOGE("video buffer is overrun state, current level byte = %llu", bytes);
-       }
 }
 
 void _audio_buffer_status_cb_ex(player_media_stream_buffer_status_e status, unsigned long long bytes, void *user_data)
 {
-       if (status == PLAYER_MEDIA_STREAM_BUFFER_UNDERRUN) {
+       if (status == PLAYER_MEDIA_STREAM_BUFFER_UNDERRUN)
                LOGE("audio buffer is underrun state, current level byte = %llu", bytes);
-       } else if (status == PLAYER_MEDIA_STREAM_BUFFER_OVERFLOW) {
+       else if (status == PLAYER_MEDIA_STREAM_BUFFER_OVERFLOW)
                LOGE("audio buffer is overrun state, current level byte = %llu", bytes);
-       }
 }
 
 void _video_seek_data_cb(unsigned long long offset, void *user_data)