[MPlayer-cvslog] CVS: main/libmpdemux http.c,1.22,1.23

Reimar Döffinger CVS syncmail at mplayerhq.hu
Thu Jun 16 09:42:03 CEST 2005


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv10604

Modified Files:
	http.c 
Log Message:
Remove code that is already done by fixup_network_stream_cache.


Index: http.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/http.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- http.c	2 Jun 2005 18:57:58 -0000	1.22
+++ http.c	16 Jun 2005 07:42:01 -0000	1.23
@@ -691,15 +691,6 @@
 		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;




More information about the MPlayer-cvslog mailing list