summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cfg-common.h2
-rw-r--r--cfg-mencoder.h1
-rw-r--r--cfg-mplayer.h1
3 files changed, 4 insertions, 0 deletions
diff --git a/cfg-common.h b/cfg-common.h
index c0cf673f0b..38c82be0f8 100644
--- a/cfg-common.h
+++ b/cfg-common.h
@@ -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 --------------------
diff --git a/cfg-mencoder.h b/cfg-mencoder.h
index 9227bfaa9a..721c1688e4 100644
--- a/cfg-mencoder.h
+++ b/cfg-mencoder.h
@@ -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
diff --git a/cfg-mplayer.h b/cfg-mplayer.h
index 7f6262ad45..39f4d0eb6e 100644
--- a/cfg-mplayer.h
+++ b/cfg-mplayer.h
@@ -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 */