diff options
author | Yamit Mehta <ymehta@codeaurora.org> | 2015-07-20 13:52:10 +0530 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2015-10-06 03:24:17 -0600 |
commit | 174976417b6a85fd81e4951cd746028358d2f60b (patch) | |
tree | 45cccb474a7c778aa75eb18c2766d91e817010dd /services/audioflinger/Threads.cpp | |
parent | 88801f57e848bddc03fbd6dbd6376a5467cc1d44 (diff) | |
download | frameworks_av-174976417b6a85fd81e4951cd746028358d2f60b.zip frameworks_av-174976417b6a85fd81e4951cd746028358d2f60b.tar.gz frameworks_av-174976417b6a85fd81e4951cd746028358d2f60b.tar.bz2 |
libmediaplayerservice:Fix deadlock on gapless start failure
Issue:- Current gapless implementation starts the next clip when
MEDIA_PLAYBACK_COMPLETE event for the first clip is recieved
by MediaPlayerService.
-Even if start for next clip fails, application is notified with
MEDIA_INFO_STARTED_AS_NEXT.
- This causes the framework to trigger mediaplayer start which
again fails as it being for the same clip resulting in a deadlock
in the mediaplayer.
Fix:- Notify application with MEDIA_INFO_STARTED_AS_NEXT only when
start for the next clip is successful.
Change-Id: I77c570074c7c98c996122e275161ba88298e56fc
Diffstat (limited to 'services/audioflinger/Threads.cpp')
0 files changed, 0 insertions, 0 deletions