diff options
Diffstat (limited to 'mpvcore')
-rw-r--r-- | mpvcore/options.c | 4 | ||||
-rw-r--r-- | mpvcore/options.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/mpvcore/options.c b/mpvcore/options.c index 9cffb07284..234d8646bd 100644 --- a/mpvcore/options.c +++ b/mpvcore/options.c @@ -47,6 +47,8 @@ int network_cookies_enabled = 0; char *network_useragent="mpv " VERSION; char *network_referrer=NULL; char **network_http_header_fields=NULL; +int network_tls_verify; +char *network_tls_ca_file; extern char *lirc_configfile; @@ -388,6 +390,8 @@ const m_option_t mp_opts[] = { {"udp", 1}, {"tcp", 2}, {"http", 3})), + {"tls-verify", &network_tls_verify, CONF_TYPE_FLAG, 0, 0, 0, NULL}, + {"tls-ca-file", &network_tls_ca_file, CONF_TYPE_STRING, 0, 0, 0, NULL}, // ------------------------- demuxer options -------------------- diff --git a/mpvcore/options.h b/mpvcore/options.h index 025ff63b5d..fb88456ac9 100644 --- a/mpvcore/options.h +++ b/mpvcore/options.h @@ -281,6 +281,8 @@ extern char **network_http_header_fields; extern char *network_useragent; extern char *network_referrer; extern int network_cookies_enabled; +extern int network_tls_verify; +extern char *network_tls_ca_file; extern char *cookies_file; extern const m_option_t mp_opts[]; |