1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 01:22:30 +00:00
mpv/input
wm4 fc574ee563 ipc: some user-visible changes to prepare for making all commands async
I wanted to put all commands through mpv_command_node_async() instead of
mpv_command_node(). Using synchronous commands over a synchronous
transport doesn't make sense anyway.

This would have used the request_id field in IPC requests as reply ID
for the async commands. But the latter need to be [u]int64, while the
former can be any type. To avoid that we need an extra lookup table for
mapping reply IDs to request_id values, we now require that request_id
fields are integers.

Since this would be an incompatible change, just deprecate non-integers
for now, and plan the change for a later time.
2018-05-24 19:56:34 +02:00
..
cmd.c input: add glue code for named arguments 2018-05-24 19:56:34 +02:00
cmd.h command: add a way to abort asynchronous commands 2018-05-24 19:56:34 +02:00
event.c Use - as command-name separator everywhere 2016-07-14 22:37:42 +02:00
event.h input/event.h: add include guard 2016-03-15 22:44:15 +01:00
input.c input: rename weirdly named function 2018-05-03 01:20:01 +03:00
input.h input: move an enum back to its correct place 2018-05-24 19:56:33 +02:00
ipc-dummy.c build: change how some OS specific source files are selected 2017-06-29 10:30:16 +02:00
ipc-unix.c all: replace mpv_detach_destroy() with mpv_destroy() 2018-03-15 00:00:04 -07:00
ipc-win.c all: replace mpv_detach_destroy() with mpv_destroy() 2018-03-15 00:00:04 -07:00
ipc.c ipc: some user-visible changes to prepare for making all commands async 2018-05-24 19:56:34 +02:00
keycodes.c input: merge mouse wheel and axis keycodes 2017-09-03 20:31:44 +10:00
keycodes.h input: add a define for the number of mouse buttons and use it 2018-05-24 19:56:34 +02:00
pipe-win32.c osdep: rename atomics.h to atomic.h 2016-09-07 11:26:25 +02:00