mirror of
https://github.com/mpv-player/mpv
synced 2025-01-11 09:29:29 +00:00
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:
parent
9db030295b
commit
d3777af52b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user