path: root/.travis.yml
diff options
authorwm4 <wm4@nowhere>2020-02-24 00:31:46 +0100
committerwm4 <wm4@nowhere>2020-02-24 00:31:46 +0100
commitc418aa38077e28a4e2303b9fbbe693d4830c8542 (patch)
tree35944ddd94489c41f85d1f3f4b2206b91dbd0bcc /.travis.yml
parent67311af05f61e78576e1ae67892b7d590aa1e996 (diff)
ipc: allow sending commands with named argumentsHEADmaster
This has been part of the libmpv for a while, so the implementation in the IPC code is quite simple: just pass the mpv_node representing the value of the "command" field without further checks to mpv_command_node(). The only problem are the IPC-specific commands, which essentially have their own dispatch mechanism. They expect an array. I'm not going to rewrite the dispatch mechanism, so these still work only with an array. I decided make the other case explicit with cmd==NULL. (I could also have set cmd=="", which would have avoided changing each if condition since "" matches no existing command, but that felt dirty.)
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions