summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/include/NuCachedSource2.h
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-11-11 17:01:43 -0800
committerAndreas Huber <andih@google.com>2010-11-11 17:01:43 -0800
commita628f89503e024e2b3f4dad88edd326845e058b9 (patch)
treee26352eab7fd3cd40e4cabbfbe54cb39863268de /media/libstagefright/include/NuCachedSource2.h
parent3279bde5c424f58f630a16426bad42e074ca07d6 (diff)
downloadframeworks_av-a628f89503e024e2b3f4dad88edd326845e058b9.zip
frameworks_av-a628f89503e024e2b3f4dad88edd326845e058b9.tar.gz
frameworks_av-a628f89503e024e2b3f4dad88edd326845e058b9.tar.bz2
Increase the prefetcher's low water mark so it restarts fetching data earlier.
720p high bitrate content pretty much requires this. Change-Id: I2cb29d1fa2e3c511f1b88a106a02c53c68a10f2f
Diffstat (limited to 'media/libstagefright/include/NuCachedSource2.h')
-rw-r--r--media/libstagefright/include/NuCachedSource2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/include/NuCachedSource2.h b/media/libstagefright/include/NuCachedSource2.h
index 8cd7d4b..8cec1b1 100644
--- a/media/libstagefright/include/NuCachedSource2.h
+++ b/media/libstagefright/include/NuCachedSource2.h
@@ -58,7 +58,7 @@ private:
enum {
kPageSize = 65536,
kHighWaterThreshold = 5 * 1024 * 1024,
- kLowWaterThreshold = 512 * 1024,
+ kLowWaterThreshold = 1024 * 1024,
// Read data after a 15 sec timeout whether we're actively
// fetching or not.