diff cfg-common.h @ 6559:e7c244db6174

Added -user -pass options for http authentication.
author bertrand
date Tue, 25 Jun 2002 08:09:16 +0000
parents f49ec39ab0c6
children 39a7509868de
line wrap: on
line diff
--- a/cfg-common.h	Tue Jun 25 08:04:52 2002 +0000
+++ b/cfg-common.h	Tue Jun 25 08:09:16 2002 +0000
@@ -39,6 +39,13 @@
 	{"csslib", "MPlayer was compiled WITHOUT libcss support!\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
 #endif
 
+#ifdef STREAMING
+	{"user", &network_username, CONF_TYPE_STRING, 0, 0, 0, NULL},
+	{"pass", &network_password, CONF_TYPE_STRING, 0, 0, 0, NULL},
+#else
+	{"user", "MPlayer was compiled WITHOUT streaming(network) support\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
+#endif
+	
 // ------------------------- demuxer options --------------------
 
 	// number of frames to play/convert