[0.3.47] fix deadlock issue about remove idle event 02/114802/1 accepted/tizen/common/20170215.171018 accepted/tizen/ivi/20170216.094204 accepted/tizen/mobile/20170216.094115 accepted/tizen/tv/20170216.094142 accepted/tizen/wearable/20170216.094155 submit/tizen/20170215.085010
authorEunhae Choi <eunhae1.choi@samsung.com>
Wed, 15 Feb 2017 06:56:56 +0000 (15:56 +0900)
committerEunhae Choi <eunhae1.choi@samsung.com>
Wed, 15 Feb 2017 06:56:56 +0000 (15:56 +0900)
Change-Id: I5e3c6e6683dbe9cb3dc731721c82daaedc35d5e7

packaging/capi-media-player.spec
src/player.c

index 32ce556..ffac7e8 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-media-player
 Summary:    A Media Player API
-Version:    0.3.46
+Version:    0.3.47
 Release:    0
 Group:      Multimedia/API
 License:    Apache-2.0
index 5dd03a2..5be820e 100755 (executable)
@@ -1380,6 +1380,8 @@ static void _player_remove_idle_event(callback_cb_info_s *cb_info, muse_player_e
                                                        g_mutex_unlock(&ev->idle_ev_mutex);
                                                        return;
                                                }
+                                       } else {
+                                               g_mutex_unlock(&event_data->event_mutex);
                                        }
                                } else {
                                        LOGW("event(%d) lock failed. it's being called...", event_data->int_data);