From: Eunhae Choi Date: Thu, 15 Dec 2016 08:02:21 +0000 (+0900) Subject: [v0.3.39] use default context for prepare cb X-Git-Tag: submit/tizen/20161220.104958~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d5ba3acf91a7e66efaac5eac5a33de03d7908f1b;p=platform%2Fcore%2Fapi%2Fplayer.git [v0.3.39] use default context for prepare cb Change-Id: I7d92fefd76ac16072caedc35f1093a10c8850ad8 --- diff --git a/packaging/capi-media-player.spec b/packaging/capi-media-player.spec index ba38cd3..b13d38d 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.38 +Version: 0.3.39 Release: 0 Group: Multimedia/API License: Apache-2.0 diff --git a/src/player.c b/src/player.c index 4e589cf..42f3d59 100644 --- a/src/player.c +++ b/src/player.c @@ -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 {