[TFIVE-14741] ensure thread safe call of efl function 85/191385/2 submit/tizen/20181016.224209
authorYeongjong Lee <yj34.lee@samsung.com>
Tue, 16 Oct 2018 11:18:04 +0000 (20:18 +0900)
committerYeongjong Lee <yj34.lee@samsung.com>
Tue, 16 Oct 2018 12:00:30 +0000 (21:00 +0900)
EFL function doesn't allow to access object in sub thread.
This patch prevent that issue

Change-Id: I22456c0b1ae56a117dd6c29bfc7cd24bbf72d2fb

src/core/mp-player-mgr.c

index 6f50874..ca1e55e 100644 (file)
@@ -1049,7 +1049,7 @@ Eina_Bool mp_player_mgr_seek_done(void *data)
 static void _mp_player_mgr_seek_done_cb(void *data)
 {
        if (is_seeking) {
-               mp_player_mgr_seek_done(data);
+               ecore_main_loop_thread_safe_call_async(mp_player_mgr_seek_done, data);
        }
 }