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:
72286f7
)
[0.6.136] send state msg in case of resource conflict
27/191727/2
author
Eunhae Choi
<eunhae1.choi@samsung.com>
Tue, 23 Oct 2018 03:54:57 +0000
(12:54 +0900)
committer
Eunhae Choi
<eunhae1.choi@samsung.com>
Tue, 23 Oct 2018 03:55:09 +0000
(12:55 +0900)
- share the state info to sync the mm state and player state
Change-Id: I4f29025e23107ff42dd672f94c189de255437ddb
src/mm_player_priv.c
patch
|
blob
|
history
diff --git
a/src/mm_player_priv.c
b/src/mm_player_priv.c
index
97fcd5c
..
1c221e6
100644
(file)
--- a/
src/mm_player_priv.c
+++ b/
src/mm_player_priv.c
@@
-627,7
+627,7
@@
__mmplayer_set_state(mm_player_t* player, int state)
/* state changed by resource callback */
if (player->interrupted_by_resource) {
- MMPLAYER_POST_MSG(player, MM_MESSAGE_STATE_INTERRUPTED,
NULL
);
+ MMPLAYER_POST_MSG(player, MM_MESSAGE_STATE_INTERRUPTED,
&msg
);
} else { /* state changed by usecase */
MMPLAYER_POST_MSG(player, MM_MESSAGE_STATE_CHANGED, &msg);
}