summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authorbertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-07-05 02:35:19 +0000
committerbertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-07-05 02:35:19 +0000
commitd3777af52b3c3988404c3356f8ed426b8b64d912 (patch)
tree7589f8719086b39509726c4122fa705654ebb86b /libmpdemux
parent9db030295bcc24bbf9b84118fe01465840a47c1b (diff)
downloadmpv-d3777af52b3c3988404c3356f8ed426b8b64d912.tar.bz2
mpv-d3777af52b3c3988404c3356f8ed426b8b64d912.tar.xz
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
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/network.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpdemux/network.h b/libmpdemux/network.h
index f708b5a7d7..3260860840 100644
--- a/libmpdemux/network.h
+++ b/libmpdemux/network.h
@@ -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;