summaryrefslogtreecommitdiffstats
path: root/cfg-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'cfg-common.h')
-rw-r--r--cfg-common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/cfg-common.h b/cfg-common.h
index 5a28a65c45..2239228d30 100644
--- a/cfg-common.h
+++ b/cfg-common.h
@@ -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