From 3de594d3709994824ba8c3b4c9e81a8ce6582eb0 Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Thu, 11 Nov 2010 17:01:43 -0800 Subject: Increase the prefetcher's low water mark so it restarts fetching data earlier. 720p high bitrate content pretty much requires this. Change-Id: I2cb29d1fa2e3c511f1b88a106a02c53c68a10f2f --- media/libstagefright/include/NuCachedSource2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media/libstagefright/include/NuCachedSource2.h b/media/libstagefright/include/NuCachedSource2.h index 8cd7d4bce10d..8cec1b1eafaa 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. -- cgit v1.2.3-59-g8ed1b