summaryrefslogtreecommitdiffstats
path: root/media/libstagefright
diff options
context:
space:
mode:
authorChris Elliott <chriselliott@google.com>2015-12-02 13:22:51 -0800
committerChris Elliott <chriselliott@google.com>2015-12-02 13:22:51 -0800
commit92e41514344227f0c0cf09e9a989b455c8490fda (patch)
tree99326a5a79b8c53fe1c59c21f1075874e975499a /media/libstagefright
parentddbebb92f831784dc143d2cd8492ce690e238744 (diff)
downloadframeworks_av-92e41514344227f0c0cf09e9a989b455c8490fda.zip
frameworks_av-92e41514344227f0c0cf09e9a989b455c8490fda.tar.gz
frameworks_av-92e41514344227f0c0cf09e9a989b455c8490fda.tar.bz2
DO NOT MERGE Revert "AwesomePlayer: Stop posting buffering events once at EOS"
This reverts commit 701cac1716d5ddb867a5444ea152d26741f3b397.
Diffstat (limited to 'media/libstagefright')
-rw-r--r--media/libstagefright/AwesomePlayer.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/media/libstagefright/AwesomePlayer.cpp b/media/libstagefright/AwesomePlayer.cpp
index 15506ef..9a2c7a7 100644
--- a/media/libstagefright/AwesomePlayer.cpp
+++ b/media/libstagefright/AwesomePlayer.cpp
@@ -843,8 +843,7 @@ void AwesomePlayer::onBufferingUpdate() {
}
}
- if ( ((mFlags & PLAYING) && !eos) ||
- (mFlags & (PREPARING | CACHE_UNDERRUN)) ) {
+ if (mFlags & (PLAYING | PREPARING | CACHE_UNDERRUN)) {
postBufferingEvent_l();
}
}