summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-07-05 02:51:19 +0000
committerbertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-07-05 02:51:19 +0000
commit3e89387debaf2ee63931cabb6d10c68545a42752 (patch)
tree32e1b292cc0da091e6a011ed0eaa5a830f1716c6
parent20fd97f1057949ab18a28653d68e70c61f508f8a (diff)
downloadmpv-3e89387debaf2ee63931cabb6d10c68545a42752.tar.bz2
mpv-3e89387debaf2ee63931cabb6d10c68545a42752.tar.xz
Added the bandwidth option
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6647 b3059339-0415-0410-9bf9-f77b7e298cf2
-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 */