diff options
author | Andreas Huber <andih@google.com> | 2011-07-14 13:02:47 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2011-07-14 13:02:47 -0700 |
commit | 5442cb59e8483e18b3a02400d431d167ea7074b3 (patch) | |
tree | ec53f69074b3a7df04a2223aad753b6d2cf1bd9c /media/libstagefright/include/AwesomePlayer.h | |
parent | 2864c9a3a29311beb5ef96d8fc3c7745df2dd2cd (diff) | |
download | frameworks_av-5442cb59e8483e18b3a02400d431d167ea7074b3.zip frameworks_av-5442cb59e8483e18b3a02400d431d167ea7074b3.tar.gz frameworks_av-5442cb59e8483e18b3a02400d431d167ea7074b3.tar.bz2 |
If audio startup fails while executing MediaPlayer::start() do NOT post an error
notification, the error returned by MediaPlayer::start() will suffice.
Change-Id: I49bd8d42078f039e5e6d8d4fed4f7f55dc5ff82a
related-to-bug: 5020200
Diffstat (limited to 'media/libstagefright/include/AwesomePlayer.h')
-rw-r--r-- | media/libstagefright/include/AwesomePlayer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/include/AwesomePlayer.h b/media/libstagefright/include/AwesomePlayer.h index e069b4d..95f2ae8 100644 --- a/media/libstagefright/include/AwesomePlayer.h +++ b/media/libstagefright/include/AwesomePlayer.h @@ -291,7 +291,7 @@ private: void finishSeekIfNecessary(int64_t videoTimeUs); void ensureCacheIsFetching_l(); - status_t startAudioPlayer_l(); + status_t startAudioPlayer_l(bool sendErrorNotification = true); void postAudioSeekComplete_l(); void shutdownVideoDecoder_l(); |