Added the bandwidth variable. Used to set the max download bandwidth

available or the max bandwidth to use.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6642 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
bertrand 2002-07-05 02:35:19 +00:00
parent 9db030295b
commit d3777af52b
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@ typedef struct streaming_control {
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;