From 1bdc3bed001168d8d2039955e57fead1ecc68144 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 9 Apr 2020 01:05:51 +0200 Subject: 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 --- player/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player') 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); } -- cgit v1.2.3