summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/AwesomePlayer.cpp
diff options
context:
space:
mode:
authorGloria Wang <gwang@google.com>2011-08-10 14:19:05 -0700
committerGloria Wang <gwang@google.com>2011-08-10 14:19:05 -0700
commit83ed9d41b5aea53a5f3f0ae2fa14e101c079a12a (patch)
tree440fc1203e1c5eb349c10f4013242a54eece1ba9 /media/libstagefright/AwesomePlayer.cpp
parent6801b4dbd00b485ecdcd31b517ed885a8fa21c63 (diff)
downloadframeworks_av-83ed9d41b5aea53a5f3f0ae2fa14e101c079a12a.zip
frameworks_av-83ed9d41b5aea53a5f3f0ae2fa14e101c079a12a.tar.gz
frameworks_av-83ed9d41b5aea53a5f3f0ae2fa14e101c079a12a.tar.bz2
To reduce the bytes need to be buffered before start playing the streaming video.
We might revert this change if too many spinnings were introduced. For bug 4448008. Change-Id: I3248bba9237d71c2bd99feebc9c73f7bd45260de
Diffstat (limited to 'media/libstagefright/AwesomePlayer.cpp')
-rw-r--r--media/libstagefright/AwesomePlayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/AwesomePlayer.cpp b/media/libstagefright/AwesomePlayer.cpp
index 67f6c79..8382036 100644
--- a/media/libstagefright/AwesomePlayer.cpp
+++ b/media/libstagefright/AwesomePlayer.cpp
@@ -63,7 +63,7 @@
namespace android {
static int64_t kLowWaterMarkUs = 2000000ll; // 2secs
-static int64_t kHighWaterMarkUs = 10000000ll; // 10secs
+static int64_t kHighWaterMarkUs = 5000000ll; // 5secs
static int64_t kHighWaterMarkRTSPUs = 4000000ll; // 4secs
static const size_t kLowWaterMarkBytes = 40000;
static const size_t kHighWaterMarkBytes = 200000;