[v0.3.39] use default context for prepare cb 50/105050/3
authorEunhae Choi <eunhae1.choi@samsung.com>
Thu, 15 Dec 2016 08:02:21 +0000 (17:02 +0900)
committerEunhae Choi <eunhae1.choi@samsung.com>
Thu, 15 Dec 2016 08:08:05 +0000 (17:08 +0900)
Change-Id: I7d92fefd76ac16072caedc35f1093a10c8850ad8

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

index ba38cd3..b13d38d 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-media-player
 Summary:    A Media Player API
-Version:    0.3.38
+Version:    0.3.39
 Release:    0
 Group:      Multimedia/API
 License:    Apache-2.0
index 4e589cf..42f3d59 100644 (file)
@@ -1109,7 +1109,8 @@ static bool _player_need_sync_context(int event_id)
                (event_id == MUSE_PLAYER_EVENT_TYPE_BUFFERING) ||
                (event_id == MUSE_PLAYER_EVENT_TYPE_PD) ||
                (event_id == MUSE_PLAYER_EVENT_TYPE_COMPLETE) ||
-               (event_id == MUSE_PLAYER_EVENT_TYPE_ERROR)) {
+               (event_id == MUSE_PLAYER_EVENT_TYPE_ERROR) ||
+               (event_id == MUSE_PLAYER_EVENT_TYPE_PREPARE)) {
                LOGD("%d callback will be issued in the mainloop.", event_id);
                return TRUE;
        } else {