diff options
author | cehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2011-03-17 08:58:49 +0000 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-04-13 03:17:05 +0300 |
commit | c99d8fc8981d13203c2bbf9c12b7720cd8632ae1 (patch) | |
tree | 4eedca60b1f3814f8cd958d8e6ce317e8adfce02 /cfg-common.h | |
parent | 4b5a86c78e67d0412c65f8d8b0830e8e450cd2ed (diff) | |
download | mpv-c99d8fc8981d13203c2bbf9c12b7720cd8632ae1.tar.bz2 mpv-c99d8fc8981d13203c2bbf9c12b7720cd8632ae1.tar.xz |
stream: http: Allow setting custom http header
Patch by Nikolay Nikolaev, nicknickolaev yahoo com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33082 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-common.h')
-rw-r--r-- | cfg-common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cfg-common.h b/cfg-common.h index e56d87b3de..1b88e3bf7e 100644 --- a/cfg-common.h +++ b/cfg-common.h @@ -425,6 +425,7 @@ const m_option_t common_opts[] = { {"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}, + {"http-header-fields", &network_http_header_fields, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL}, {"user-agent", &network_useragent, CONF_TYPE_STRING, 0, 0, 0, NULL}, {"referrer", &network_referrer, CONF_TYPE_STRING, 0, 0, 0, NULL}, {"cookies", &network_cookies_enabled, CONF_TYPE_FLAG, 0, 0, 1, NULL}, |