From d3777af52b3c3988404c3356f8ed426b8b64d912 Mon Sep 17 00:00:00 2001 From: bertrand Date: Fri, 5 Jul 2002 02:35:19 +0000 Subject: [PATCH] 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 --- libmpdemux/network.h | 1 + 1 file changed, 1 insertion(+) 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;