diff options
author | wm4 <wm4@nowhere> | 2015-05-16 12:32:34 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-05-16 12:32:34 +0200 |
commit | f9ff4b59a266cfbbcf7dc633b2c31cf97c67abc4 (patch) | |
tree | b54fac2bfd721948962e467f66e8ac9e7d7c2ab1 /DOCS | |
parent | a4f3df5970cc34d8899dbd31b3475f7bd6547f3f (diff) | |
download | mpv-f9ff4b59a266cfbbcf7dc633b2c31cf97c67abc4.tar.bz2 mpv-f9ff4b59a266cfbbcf7dc633b2c31cf97c67abc4.tar.xz |
manpage: lua: clarify OSD differences between mp.command/mp.commandv
Conflicts:
player/audio.c
player/video.c
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/man/lua.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/DOCS/man/lua.rst b/DOCS/man/lua.rst index ff70600a1d..d5c9b31808 100644 --- a/DOCS/man/lua.rst +++ b/DOCS/man/lua.rst @@ -73,6 +73,10 @@ The ``mp`` module is preloaded, although it can be loaded manually with Run the given command. This is similar to the commands used in input.conf. See `List of Input Commands`_. + By default, this will show something on the OSD (depending on the command), + as if it was used in ``input.conf``. See `Input Command Prefixes`_ how + to influence OSD usage per command. + Returns ``true`` on success, or ``nil, error`` on error. ``mp.commandv(arg1, arg2, ...)`` @@ -94,6 +98,9 @@ The ``mp`` module is preloaded, although it can be loaded manually with the ``expand-properties`` prefix, or the ``mp.get_property`` family of functions. + Unlike ``mp.command``, this will not use OSD by default either (except + for some OSd-specific commands). + ``mp.command_native(table [,def])`` Similar to ``mp.commandv``, but pass the argument list as table. This has the advantage that in at least some cases, arguments can be passed as |