summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-06-16 07:42:01 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-06-16 07:42:01 +0000
commita1d7876900be567fe0f2d9b161a08a7cde423b29 (patch)
treeb0ac5b12e9260dab5f6c7383f05c53f559f88bf2 /libmpdemux
parent1b0c8682c44596669928f5d90b498f07c5c47d4f (diff)
downloadmpv-a1d7876900be567fe0f2d9b161a08a7cde423b29.tar.bz2
mpv-a1d7876900be567fe0f2d9b161a08a7cde423b29.tar.xz
Remove code that is already done by fixup_network_stream_cache.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15733 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/http.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/libmpdemux/http.c b/libmpdemux/http.c
index 35f23e0c00..6123e07425 100644
--- a/libmpdemux/http.c
+++ b/libmpdemux/http.c
@@ -691,15 +691,6 @@ static int fixup_open(stream_t *stream,int seekable) {
stream->streaming_ctrl = NULL;
return STREAM_UNSUPORTED;
}
- if(stream->streaming_ctrl->buffering) {
- if(stream_cache_size<0) {
- // cache option not set, will use our computed value.
- // buffer in KBytes, *5 because the prefill is 20% of the buffer.
- stream_cache_size = (stream->streaming_ctrl->prebuffer_size/1024)*5;
- if( stream_cache_size<64 ) stream_cache_size = 64; // 16KBytes min buffer
- }
- mp_msg(MSGT_NETWORK,MSGL_INFO,"Cache size set to %d KBytes, seekable: %d\n", stream_cache_size, seekable);
- }
fixup_network_stream_cache(stream);
return STREAM_OK;