changeset 6646:6cfc8fd31299

Added the bandwidth option
author bertrand
date Fri, 05 Jul 2002 02:51:19 +0000
parents fc2de514a140
children c66284733f3d
files cfg-common.h cfg-mencoder.h cfg-mplayer.h
diffstat 3 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/cfg-common.h	Fri Jul 05 02:48:32 2002 +0000
+++ b/cfg-common.h	Fri Jul 05 02:51:19 2002 +0000
@@ -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 --------------------
--- a/cfg-mencoder.h	Fri Jul 05 02:48:32 2002 +0000
+++ b/cfg-mencoder.h	Fri Jul 05 02:51:19 2002 +0000
@@ -24,6 +24,7 @@
 /* defined in network.c */
 extern char *network_username;
 extern char *network_password;
+extern int   network_bandwidth;
 #endif
 
 #ifdef HAVE_MP3LAME
--- a/cfg-mplayer.h	Fri Jul 05 02:48:32 2002 +0000
+++ b/cfg-mplayer.h	Fri Jul 05 02:51:19 2002 +0000
@@ -103,6 +103,7 @@
 /* defined in network.c */
 extern char *network_username;
 extern char *network_password;
+extern int   network_bandwidth;
 #endif
 
 /* from libvo/aspect.c */