diff options
author | wm4 <wm4@nowhere> | 2020-04-09 01:05:51 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-04-09 01:05:51 +0200 |
commit | 1bdc3bed001168d8d2039955e57fead1ecc68144 (patch) | |
tree | 4f123328b736715219f161bb5e1597fbaeedf879 /options/options.c | |
parent | fd3caa264ea0848e7e30db94390063c87e247003 (diff) | |
download | mpv-1bdc3bed001168d8d2039955e57fead1ecc68144.tar.bz2 mpv-1bdc3bed001168d8d2039955e57fead1ecc68144.tar.xz |
ipc: add --input-ipc-client option
While --input-file was removed for justified reasons, wanting to pass
down socket FDs this way is legitimate, useful, and easy to implement.
One odd thing is that
Fixes: #7592
Diffstat (limited to 'options/options.c')
-rw-r--r-- | options/options.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c index 170472af1c..c7d75b0648 100644 --- a/options/options.c +++ b/options/options.c @@ -719,6 +719,9 @@ static const m_option_t mp_opts[] = { {"input-terminal", OPT_FLAG(consolecontrols), .flags = UPDATE_TERM}, {"input-ipc-server", OPT_STRING(ipc_path), .flags = M_OPT_FILE}, +#if HAVE_POSIX + {"input-ipc-client", OPT_STRING(ipc_client)}, +#endif {"screenshot", OPT_SUBSTRUCT(screenshot_image_opts, screenshot_conf)}, {"screenshot-template", OPT_STRING(screenshot_template)}, |