diff options
author | Andreas Huber <andih@google.com> | 2011-01-11 15:05:28 -0800 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2011-01-11 15:05:28 -0800 |
commit | 145e68fc778275963189b02a1adcbe27cce4d769 (patch) | |
tree | 91addc4557024a25d8ba64efc79b821be5ca1877 /media/libstagefright/include/NuCachedSource2.h | |
parent | 0ecfbd1cf37dbfb44d19c27351f5769309ac028d (diff) | |
download | frameworks_av-145e68fc778275963189b02a1adcbe27cce4d769.zip frameworks_av-145e68fc778275963189b02a1adcbe27cce4d769.tar.gz frameworks_av-145e68fc778275963189b02a1adcbe27cce4d769.tar.bz2 |
Increase cache size and low-watermark threshold, also
MediaPlayer now sends out MEDIA_INFO,MEDIA_INFO_VIDEO_TRACK_LAGGING messages
to the JAVA client informing it how much (if at all) the video lags behind
audio (arg2 is the media delay in ms).
Change-Id: I6933f573d8597a35112e4b5ee0fcb826a7f6ddd1
related-to-bug: 3335220
Diffstat (limited to 'media/libstagefright/include/NuCachedSource2.h')
-rw-r--r-- | media/libstagefright/include/NuCachedSource2.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/media/libstagefright/include/NuCachedSource2.h b/media/libstagefright/include/NuCachedSource2.h index 78719c1..aa320fc 100644 --- a/media/libstagefright/include/NuCachedSource2.h +++ b/media/libstagefright/include/NuCachedSource2.h @@ -55,8 +55,8 @@ private: enum { kPageSize = 65536, - kHighWaterThreshold = 5 * 1024 * 1024, - kLowWaterThreshold = 1024 * 1024, + kHighWaterThreshold = 20 * 1024 * 1024, + kLowWaterThreshold = 4 * 1024 * 1024, // Read data after a 15 sec timeout whether we're actively // fetching or not. |