Added the bandwidth option

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6647 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
bertrand 2002-07-05 02:51:19 +00:00
parent 20fd97f105
commit 3e89387deb
3 changed files with 4 additions and 0 deletions

View File

@ -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 --------------------

View File

@ -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

View File

@ -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 */