From: Eunhae Choi Date: Mon, 10 Oct 2016 05:57:19 +0000 (+0900) Subject: [v0.3.27] Fix Svace Issues X-Git-Tag: accepted/tizen/common/20161010.145915^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2c6a039b027d4ca1da2a597fbc17b0000de4f9ca;p=platform%2Fcore%2Fapi%2Fplayer.git [v0.3.27] Fix Svace Issues Change-Id: Ia489f4dfa3b44783a9c425147c762cde0f6a94e9 --- diff --git a/packaging/capi-media-player.spec b/packaging/capi-media-player.spec index 40f018a..ff558b9 100644 --- a/packaging/capi-media-player.spec +++ b/packaging/capi-media-player.spec @@ -1,6 +1,6 @@ Name: capi-media-player Summary: A Media Player API -Version: 0.3.26 +Version: 0.3.27 Release: 0 Group: Multimedia/API License: Apache-2.0 diff --git a/src/player.c b/src/player.c index 98c35f2..d5b2342 100644 --- a/src/player.c +++ b/src/player.c @@ -868,7 +868,7 @@ static void __supported_audio_effect_cb_handler(callback_cb_info_s * cb_info, _p { } -static void __supported_audio_effect_freset_cb_handler(callback_cb_info_s * cb_info, _player_recv_data *recv_data) +static void __supported_audio_effect_preset_cb_handler(callback_cb_info_s * cb_info, _player_recv_data *recv_data) { } @@ -982,7 +982,7 @@ static void (*_user_callbacks[MUSE_PLAYER_EVENT_TYPE_NUM]) (callback_cb_info_s * __video_frame_render_error_cb_handler, /* MUSE_PLAYER_EVENT_TYPE_VIDEO_FRAME_RENDER_ERROR */ __pd_cb_handler, /* MUSE_PLAYER_EVENT_TYPE_PD */ __supported_audio_effect_cb_handler, /* MUSE_PLAYER_EVENT_TYPE_SUPPORTED_AUDIO_EFFECT */ - __supported_audio_effect_freset_cb_handler, /* MUSE_PLAYER_EVENT_TYPE_SUPPORTED_AUDIO_EFFECT_PRESET */ + __supported_audio_effect_preset_cb_handler, /* MUSE_PLAYER_EVENT_TYPE_SUPPORTED_AUDIO_EFFECT_PRESET */ __missed_plugin_cb_handler, /* MUSE_PLAYER_EVENT_TYPE_MISSED_PLUGIN */ #ifdef _PLAYER_FOR_PRODUCT NULL, /* MUSE_PLAYER_EVENT_TYPE_IMAGE_BUFFER */ @@ -1682,10 +1682,10 @@ int player_destroy(player_h player) } #endif - if (EVAS_INFO(pc)) - g_free(pc->cb_info->evas_info); - if (CALLBACK_INFO(pc)) { + if (EVAS_INFO(pc)) + g_free(pc->cb_info->evas_info); + __player_remove_tsurf_list(pc); _player_remove_idle_event_all(CALLBACK_INFO(pc)); _player_event_queue_destroy(CALLBACK_INFO(pc));