summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/NuCachedSource2.cpp
diff options
context:
space:
mode:
authorChong Zhang <chz@google.com>2015-01-30 17:13:27 -0800
committerChong Zhang <chz@google.com>2015-02-03 16:36:09 -0800
commitefbb61950db36a5eb789be83f077246172507c67 (patch)
tree0904a0a4b377dd60935c274b29bf1550d0038389 /media/libstagefright/NuCachedSource2.cpp
parent77f877f82733263bca825b92a3f4537caafabf74 (diff)
downloadframeworks_av-efbb61950db36a5eb789be83f077246172507c67.zip
frameworks_av-efbb61950db36a5eb789be83f077246172507c67.tar.gz
frameworks_av-efbb61950db36a5eb789be83f077246172507c67.tar.bz2
NuPlayer: pause playback when buffering is low
also fix buffering percentage report (should be the buffered position) bug: 18730095 Change-Id: I11e7ca4ba9e772a1ae76861ca1ff1725b62f65ae
Diffstat (limited to 'media/libstagefright/NuCachedSource2.cpp')
-rw-r--r--media/libstagefright/NuCachedSource2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/NuCachedSource2.cpp b/media/libstagefright/NuCachedSource2.cpp
index bd0a41d..7d7d631 100644
--- a/media/libstagefright/NuCachedSource2.cpp
+++ b/media/libstagefright/NuCachedSource2.cpp
@@ -354,7 +354,7 @@ void NuCachedSource2::fetchInternal() {
Mutex::Autolock autoLock(mLock);
if (n == 0 || mDisconnecting) {
- ALOGI("ERROR_END_OF_STREAM");
+ ALOGI("caching reached eos.");
mNumRetriesLeft = 0;
mFinalStatus = ERROR_END_OF_STREAM;