commit | a628f89503e024e2b3f4dad88edd326845e058b9 | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Thu Nov 11 17:01:43 2010 -0800 |
committer | Andreas Huber <andih@google.com> | Thu Nov 11 17:01:43 2010 -0800 |
tree | e26352eab7fd3cd40e4cabbfbe54cb39863268de | |
parent | 3279bde5c424f58f630a16426bad42e074ca07d6 [diff] |
Increase the prefetcher's low water mark so it restarts fetching data earlier. 720p high bitrate content pretty much requires this. Change-Id: I2cb29d1fa2e3c511f1b88a106a02c53c68a10f2f
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 @@ 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.