diff options
author | prince <prince.dubey@samsung.com> | 2013-02-25 17:59:44 +0530 |
---|---|---|
committer | prince <prince.dubey@samsung.com> | 2013-02-25 17:59:44 +0530 |
commit | 20ab952efd55f9893b28a25c275cdb9a8dca3a45 (patch) | |
tree | 576d2984bf867aabda42b15facf8403e5515f68d | |
parent | 19d908358596a386c54acd3928feab60da3c0828 (diff) | |
download | edje-multisense-plugin-20ab952efd55f9893b28a25c275cdb9a8dca3a45.tar.gz edje-multisense-plugin-20ab952efd55f9893b28a25c275cdb9a8dca3a45.tar.bz2 edje-multisense-plugin-20ab952efd55f9893b28a25c275cdb9a8dca3a45.zip |
Currently disable to fix BS issue in setting->accounts->dropbox
Change-Id: I74494e7a584dad5c405637471e6be266a9fd59f4
-rw-r--r-- | src/tizen_sound_player/tizen_sound_player.c | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/src/tizen_sound_player/tizen_sound_player.c b/src/tizen_sound_player/tizen_sound_player.c index e034379..d4bf12e 100644 --- a/src/tizen_sound_player/tizen_sound_player.c +++ b/src/tizen_sound_player/tizen_sound_player.c @@ -345,18 +345,6 @@ _remix_mm_handle_close(void *data) return ECORE_CALLBACK_CANCEL; } -static void * -remix_player_timer_add(void *data) -{ - RemixPlayerData *player_data = data; - - if (player_data->timeout) ecore_timer_del(player_data->timeout); - player_data->timeout = ecore_timer_add(TIMEOUT_FOR_MM_HANDLER, - _remix_mm_handle_close, player_data); - - return NULL; -} - static int remix_player_flush (RemixEnv *env, RemixBase *base) { @@ -364,10 +352,9 @@ remix_player_flush (RemixEnv *env, RemixBase *base) if (!player_data) return; - //ecore timer is not thread safe, must be called in main thread - //the below call should not be blocking - ecore_main_loop_thread_safe_call_async - (remix_player_timer_add, player_data); + if (player_data->timeout) ecore_timer_del(player_data->timeout); + player_data->timeout = ecore_timer_add(TIMEOUT_FOR_MM_HANDLER, + _remix_mm_handle_close, player_data); if (player_data->handle) return 0; |