1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-11 09:25:56 +00:00
mpv/player
James Ross-Gowan 5bf473d5ca ipc: add Windows implementation with named pipes
This implements the JSON IPC protocol with named pipes, which are
probably the closest Windows equivalent to Unix domain sockets in terms
of functionality. Like with Unix sockets, this will allow mpv to listen
for IPC connections and handle multiple IPC clients at once. A few cross
platform libraries and frameworks (Qt, node.js) use named pipes for IPC
on Windows and Unix sockets on Linux and Unix, so hopefully this will
ease the creation of portable JSON IPC clients.

Unlike the Unix implementation, this doesn't share code with
--input-file, meaning --input-file on Windows won't understand JSON
commands (yet.) Sharing code and removing the separate implementation in
pipe-win32.c is definitely a possible future improvement.
2016-03-23 23:15:20 +11:00
..
lua lua: don't suspend core by default during script execution 2016-03-18 22:03:04 +01:00
audio.c player: add missing audio reconfig events 2016-03-13 15:52:17 +01:00
client.c client API: handle double->int64 conversion correctly 2016-02-13 13:07:53 +01:00
client.h global: add client API pointer to library handle 2016-01-15 22:54:08 +01:00
command.c command: change "cache-speed" OSD formatting 2016-03-22 22:29:15 +01:00
command.h
configfiles.c mpv_talloc.h: rename from talloc.h 2016-01-11 21:05:55 +01:00
core.h sub: make preloading more robust 2016-03-06 15:17:59 +01:00
external_files.c player: fix previous commit 2015-12-25 13:40:06 +01:00
external_files.h
lavfi.c lavfi: dump the filter graph 2016-02-12 20:28:07 +01:00
lavfi.h player: add complex filter graph support 2016-02-05 23:19:56 +01:00
loadfile.c demux: remove relative seeking 2016-02-28 19:28:34 +01:00
lua.c osd: cleanup: make OSDTYPE_ constants private to OSD code 2016-03-08 22:01:57 +01:00
main.c ipc: add Windows implementation with named pipes 2016-03-23 23:15:20 +11:00
misc.c player: simplify error_on_track() 2016-02-05 23:17:27 +01:00
osd.c osd: cleanup: make OSDTYPE_ constants private to OSD code 2016-03-08 22:01:57 +01:00
playloop.c player: simplify mp_seek() 2016-02-28 20:01:29 +01:00
screenshot.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
screenshot.h Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
scripting.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
sub.c osd: cleanup: make OSDTYPE_ constants private to OSD code 2016-03-08 22:01:57 +01:00
video.c player: minor simplification 2016-02-27 20:03:15 +01:00