diff options
author | wm4 <wm4@nowhere> | 2014-08-24 20:34:04 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-08-25 00:48:55 +0200 |
commit | 12509fabc7363ee18373438326fb6609d1710e3b (patch) | |
tree | b6918c01903c09cc0b557a2b9eaa75fc71f52149 /options | |
parent | 20d88a6dea656b1ee4bc18320f49800c6a435f59 (diff) | |
download | mpv-12509fabc7363ee18373438326fb6609d1710e3b.tar.bz2 mpv-12509fabc7363ee18373438326fb6609d1710e3b.tar.xz |
options: compatibility hack for --slave-broken
Seems some programs were still relying on it. Whatever, it's not hard to
support.
CC: @mpv-player/stable
Diffstat (limited to 'options')
-rw-r--r-- | options/options.c | 2 | ||||
-rw-r--r-- | options/options.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c index 090903bda6..2ff524f522 100644 --- a/options/options.c +++ b/options/options.c @@ -533,6 +533,8 @@ const m_option_t mp_opts[] = { OPT_SUBSTRUCT("", encode_opts, encode_config, 0), #endif + OPT_FLAG("slave-broken", slave_mode, CONF_GLOBAL), + {0} }; diff --git a/options/options.h b/options/options.h index 7b3bf4b69d..e5436383ad 100644 --- a/options/options.h +++ b/options/options.h @@ -240,6 +240,8 @@ typedef struct MPOpts { int w32_priority; + int slave_mode; + int network_cookies_enabled; char *network_cookies_file; char *network_useragent; |