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 /player | |
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 'player')
-rw-r--r-- | player/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/command.c b/player/command.c index a41a636c7d..ff4d95ccd8 100644 --- a/player/command.c +++ b/player/command.c @@ -6229,7 +6229,7 @@ void mp_option_change_callback(void *ctx, struct m_config_option *co, int flags, if (flags & UPDATE_INPUT) mp_input_update_opts(mpctx->input); - if (init || opt_ptr == &opts->ipc_path) { + if (init || opt_ptr == &opts->ipc_path || opt_ptr == &opts->ipc_client) { mp_uninit_ipc(mpctx->ipc_ctx); mpctx->ipc_ctx = mp_init_ipc(mpctx->clients, mpctx->global); } |