diff options
author | bertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-06-25 08:09:16 +0000 |
---|---|---|
committer | bertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-06-25 08:09:16 +0000 |
commit | 09c7e3191e01d9e5c5ca705ec6f5073b6fda31a1 (patch) | |
tree | cf9366a923a6308077896d592683d01235e96fe6 /cfg-common.h | |
parent | f7f0dc084cf0086266ee242f0e01e48709afe0b7 (diff) | |
download | mpv-09c7e3191e01d9e5c5ca705ec6f5073b6fda31a1.tar.bz2 mpv-09c7e3191e01d9e5c5ca705ec6f5073b6fda31a1.tar.xz |
Added -user -pass options for http authentication.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6560 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-common.h')
-rw-r--r-- | cfg-common.h | 7 |
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 |