diff options
author | wm4 <wm4@nowhere> | 2013-12-20 18:01:04 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-20 18:01:04 +0100 |
commit | 18930ba7ddf1af59b20bfafd4f9a87f140e16832 (patch) | |
tree | a7dd527aadc379f8486dce36ff11133f78c40f87 /player/playloop.c | |
parent | 833eba5304474392153189f3cc6b7baa8eb914cc (diff) | |
download | mpv-18930ba7ddf1af59b20bfafd4f9a87f140e16832.tar.bz2 mpv-18930ba7ddf1af59b20bfafd4f9a87f140e16832.tar.xz |
input, lua: add functions to take pre-split input commands
So you can pass a command as list of strings (each item is an argument),
instead of having to worry about escaping and such.
These functions also take an argument for the default command flags. In
particular, this allows setting saner defaults for commands sent by
program code.
Expose this to Lua as mp.send_commandv command (suggestions for a better
name welcome). The Lua version doesn't allow setting the default command
flags, but it can still use command prefixes. The default flags are
different from input.conf, and disable OSD and property expansion.
Diffstat (limited to 'player/playloop.c')
0 files changed, 0 insertions, 0 deletions