mirror of
https://github.com/mpv-player/mpv
synced 2024-12-23 23:32:26 +00:00
Added the bandwidth option
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6647 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
20fd97f105
commit
3e89387deb
@ -42,8 +42,10 @@
|
||||
#ifdef STREAMING
|
||||
{"user", &network_username, CONF_TYPE_STRING, 0, 0, 0, NULL},
|
||||
{"passwd", &network_password, CONF_TYPE_STRING, 0, 0, 0, NULL},
|
||||
{"bandwidth", &network_bandwidth, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
|
||||
#else
|
||||
{"user", "MPlayer was compiled WITHOUT streaming(network) support\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
|
||||
{"bandwidth", "MPlayer was compiled WITHOUT streaming(network) support\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
|
||||
#endif
|
||||
|
||||
// ------------------------- demuxer options --------------------
|
||||
|
@ -24,6 +24,7 @@ extern struct config divx4opts_conf[];
|
||||
/* defined in network.c */
|
||||
extern char *network_username;
|
||||
extern char *network_password;
|
||||
extern int network_bandwidth;
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_MP3LAME
|
||||
|
@ -103,6 +103,7 @@ extern int nortc;
|
||||
/* defined in network.c */
|
||||
extern char *network_username;
|
||||
extern char *network_password;
|
||||
extern int network_bandwidth;
|
||||
#endif
|
||||
|
||||
/* from libvo/aspect.c */
|
||||
|
Loading…
Reference in New Issue
Block a user