mirror of https://github.com/mpv-player/mpv
ipc: rename --input-unix-socket to --input-ipc-server
JSON IPC works on Windows now, and although the transports for each plaform have similar characteristics, they unfortunately have different names (Unix domain sockets on Linux/Unix vs. named pipes on Windows.) Hopefully this change better reflects the purpose of the option too, since with --input-ipc-server, mpv acts as an IPC server that can service many simultaneous clients (as opposed to --input-file, which can only do one-to-one IPC.)
This commit is contained in:
parent
5bf473d5ca
commit
cd50ebba36
|
@ -581,7 +581,7 @@ const m_option_t mp_opts[] = {
|
|||
OPT_FLAG("input-terminal", consolecontrols, CONF_GLOBAL),
|
||||
|
||||
OPT_STRING("input-file", input_file, M_OPT_FILE | M_OPT_GLOBAL),
|
||||
OPT_STRING("input-unix-socket", ipc_path, M_OPT_FILE),
|
||||
OPT_STRING("input-ipc-server", ipc_path, M_OPT_FILE),
|
||||
|
||||
OPT_SUBSTRUCT("screenshot", screenshot_image_opts, image_writer_conf, 0),
|
||||
OPT_STRING("screenshot-template", screenshot_template, 0),
|
||||
|
@ -676,6 +676,7 @@ const m_option_t mp_opts[] = {
|
|||
OPT_REPLACED("dtshd", "ad-spdif-dtshd"),
|
||||
OPT_REPLACED("ass-use-margins", "sub-use-margins"),
|
||||
OPT_REPLACED("media-title", "force-media-title"),
|
||||
OPT_REPLACED("input-unix-socket", "input-ipc-server"),
|
||||
|
||||
{0}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue