projects
/
profile
/
mobile
/
apps
/
native
/
video-player.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9059641
)
[VIDEO-PLAYER][TSAM-6364]Resolved Sound manager related errors
30/79530/1
author
anshu.kumar
<anshu.kumar@samsung.com>
Mon, 11 Jul 2016 15:04:10 +0000
(20:34 +0530)
committer
anshu.kumar
<anshu.kumar@samsung.com>
Mon, 11 Jul 2016 15:04:10 +0000
(20:34 +0530)
Change-Id: I9f319e49f4404ec614841ab11ad2ab6e4bee5c72
Signed-off-by: anshu.kumar <anshu.kumar@samsung.com>
playview/src/core/vp-sound.c
patch
|
blob
|
history
diff --git
a/playview/src/core/vp-sound.c
b/playview/src/core/vp-sound.c
index
595b0e5
..
e5cdbb7
100644
(file)
--- a/
playview/src/core/vp-sound.c
+++ b/
playview/src/core/vp-sound.c
@@
-50,6
+50,9
@@
void vp_player_focus_callback(sound_stream_info_h stream_info, sound_stream_focu
if (pPlayView->reacquire_state == EINA_TRUE) {
sound_manager_set_focus_reacquisition(pPlayView->stream_info, EINA_FALSE);
}
+ if ((reason_for_change == SOUND_STREAM_FOCUS_CHANGED_BY_MEDIA) && (!strcmp(additional_info, "music_playing"))) {
+ vp_play_normal_view_pause_player(pPlayView);
+ }
}
} else {
vp_play_normal_view_play_player(pPlayView);