projects
/
platform
/
core
/
multimedia
/
libmm-player.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42a7dca
)
[0.6.57] fix the mainloop blocking issue
38/144338/1
accepted/tizen/3.0/common/20170818.112112
accepted/tizen/3.0/ivi/20170818.001041
accepted/tizen/3.0/mobile/20170818.001051
accepted/tizen/3.0/tv/20170818.001027
accepted/tizen/3.0/wearable/20170818.001118
submit/tizen_3.0/20170816.110023
author
Eunhae Choi
<eunhae1.choi@samsung.com>
Tue, 1 Aug 2017 10:46:17 +0000
(19:46 +0900)
committer
Eunhae Choi
<eunhae1.choi@samsung.com>
Wed, 16 Aug 2017 08:59:06 +0000
(17:59 +0900)
Change-Id: Icbbb230c3eb4450e9d443927c4c3364e22380948
src/mm_player_priv.c
patch
|
blob
|
history
diff --git
a/src/mm_player_priv.c
b/src/mm_player_priv.c
index 2d3095b4c395c8cb5c40530f827a8e78d30e39f2..0e8a8b32bfa319a6d3ce9776bf6bb65d796c49f4 100644
(file)
--- a/
src/mm_player_priv.c
+++ b/
src/mm_player_priv.c
@@
-1294,7
+1294,11
@@
__mmplayer_gst_callback(GstBus *bus, GstMessage *msg, gpointer data) // @
break;
}
- MMPLAYER_CMD_LOCK(player);
+ if (!MMPLAYER_CMD_TRYLOCK(player)) {
+ LOGW("Fail to get cmd lock. skip msg handling.");
+ break;
+ }
+
__mmplayer_update_buffer_setting(player, msg);
bRet = __mmplayer_handle_buffering_message(player);