diff options
author | wm4 <wm4@nowhere> | 2014-08-24 20:34:04 +0200 |
---|---|---|
committer | Alessandro Ghedini <alessandro@ghedini.me> | 2014-08-25 11:23:30 +0200 |
commit | 226735331cf53bc8293458f96e8f004ad530942e (patch) | |
tree | 637f2f9315533464a258f269088a36ac71bed9f3 /options | |
parent | 5523370ab9dec95c73076d20ff6f5a9b800d60f3 (diff) | |
download | mpv-226735331cf53bc8293458f96e8f004ad530942e.tar.bz2 mpv-226735331cf53bc8293458f96e8f004ad530942e.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 b5578218d3..2f4613ab3d 100644 --- a/options/options.c +++ b/options/options.c @@ -527,6 +527,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 20b35d6864..a7b0ee73af 100644 --- a/options/options.h +++ b/options/options.h @@ -237,6 +237,8 @@ typedef struct MPOpts { int w32_priority; + int slave_mode; + int network_cookies_enabled; char *network_cookies_file; char *network_useragent; |