1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 15:52:25 +00:00
mpv/player
wm4 18930ba7dd 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.
2013-12-20 18:01:04 +01:00
..
lua
timeline Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
audio.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
command.c player: replace some overlooked mp_msgs 2013-12-19 21:31:18 +01:00
command.h
configfiles.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
core.h Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
dvdnav.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
loadfile.c Rename getch2....c/h to terminal....c/h 2013-12-19 21:31:27 +01:00
lua.c input, lua: add functions to take pre-split input commands 2013-12-20 18:01:04 +01:00
lua.h Rename mp_lua.c/h to lua.c/h 2013-12-17 01:15:48 +01:00
main.c Rename getch2....c/h to terminal....c/h 2013-12-19 21:31:27 +01:00
misc.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
osd.c Rename getch2....c/h to terminal....c/h 2013-12-19 21:31:27 +01:00
playloop.c Rename getch2....c/h to terminal....c/h 2013-12-19 21:31:27 +01:00
screenshot.c player: replace some overlooked mp_msgs 2013-12-19 21:31:18 +01:00
screenshot.h
sub.c player: replace some overlooked mp_msgs 2013-12-19 21:31:18 +01:00
video.c player: replace some overlooked mp_msgs 2013-12-19 21:31:18 +01:00