mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-26 21:00:21 +00:00
This makes --input-ipc-client work on Windows. To use this feature, a parent process needs to create a connected named pipe, wrap the server handle in a CRT fd, and then spawn mpv as a child process with the fd as the --input-ipc-client parameter. The process can then communicate through the client handle. The named pipe must be created duplex with overlapped IO and inheritable handles.