diff options
author | Andreas Huber <andih@google.com> | 2010-04-08 07:51:20 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2010-04-08 07:51:20 -0700 |
commit | a51250bdc753c02b0cae1dd83750ae6e2c1036c7 (patch) | |
tree | 37766c5d7912f6ad6296ec9ff1f53b363da61f00 /include/media | |
parent | 98e26575373461dc16c749d1f756403e46a909d4 (diff) | |
download | frameworks_base-a51250bdc753c02b0cae1dd83750ae6e2c1036c7.zip frameworks_base-a51250bdc753c02b0cae1dd83750ae6e2c1036c7.tar.gz frameworks_base-a51250bdc753c02b0cae1dd83750ae6e2c1036c7.tar.bz2 |
Increase the size of the pages used in CachingDataSource (total amount of memory used remains the same) to compensate for reduced locality of audio/video data requests. Also fixes a mistaken trailing "\r\n" in the range header and better error handling on http connection.
Change-Id: Ic9a6ef204362bc9afdc61e081c76bc62e5ef92ad
related-to-bug: 2580785
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/stagefright/HTTPDataSource.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/stagefright/HTTPDataSource.h b/include/media/stagefright/HTTPDataSource.h index b5d1e7a..83be475 100644 --- a/include/media/stagefright/HTTPDataSource.h +++ b/include/media/stagefright/HTTPDataSource.h @@ -54,7 +54,7 @@ protected: private: enum { - kBufferSize = 32 * 1024, + kBufferSize = 64 * 1024, // If we encounter a socket-read error we'll try reconnecting // and restarting the read for at most this many times. |