[Mplayer-cvslog] CVS: main/libmpdemux network.h,1.12,1.13

Bertrand Baudet bertrand at mplayerhq.hu
Fri Jul 5 04:35:22 CEST 2002


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv23117

Modified Files:
	network.h 
Log Message:
Added the bandwidth variable. Used to set the max download bandwidth 
available or the max bandwidth to use.


Index: network.h
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/network.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- network.h	17 Jun 2002 08:18:45 -0000	1.12
+++ network.h	5 Jul 2002 02:35:19 -0000	1.13
@@ -34,6 +34,7 @@
 	char *buffer;
 	unsigned int buffer_size;
 	unsigned int buffer_pos;
+	unsigned int bandwidth;	// The downstream available
 	int (*streaming_read)( int fd, char *buffer, int buffer_size, struct streaming_control *stream_ctrl );
 	int (*streaming_seek)( int fd, off_t pos, struct streaming_control *stream_ctrl );
 	void *data;




More information about the MPlayer-cvslog mailing list