diff options
author | wm4 <wm4@nowhere> | 2019-11-23 14:40:00 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-11-23 14:40:00 +0100 |
commit | 311cc5b611ae9baed47549ee3ad2cef04f4892e0 (patch) | |
tree | c4d00cbbc860270d179e03f2e8d1071ac4703149 /video/out/vo_libmpv.c | |
parent | 66a46cba89e386de08634d53549e26aa0b558199 (diff) | |
download | mpv-311cc5b611ae9baed47549ee3ad2cef04f4892e0.tar.bz2 mpv-311cc5b611ae9baed47549ee3ad2cef04f4892e0.tar.xz |
lua: make add_key_binding() rotate optional arguments correctly
add_key_binding() makes the name argument optional (in weird Lua
fashion), which did not work if there were additional arguments. So
there is no way to avoid specifying a name while passing a rp argument.
Fix this, declare this way of skipping the argument as deprecated, and
allow passing name=nil as the preferred way to skip the name argument.
Diffstat (limited to 'video/out/vo_libmpv.c')
0 files changed, 0 insertions, 0 deletions