summaryrefslogtreecommitdiffstats
path: root/player/loadfile.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-11-18 00:33:32 +0100
committerwm4 <wm4@nowhere>2019-11-18 00:44:54 +0100
commit8e5642ff6872d94faf69c6305acdcfd788ddebba (patch)
tree4c23c176ba7c791cf2998a038b72c5c72c736822 /player/loadfile.c
parenta714ab0601908131756c3a2074c1fab9a7cddb18 (diff)
downloadmpv-8e5642ff6872d94faf69c6305acdcfd788ddebba.tar.bz2
mpv-8e5642ff6872d94faf69c6305acdcfd788ddebba.tar.xz
lua: don't pre-filter log level argument in mp.enable_messages()
This will just make it not work if mpv_request_log_messages() gets extended to accept more names. Pass the argument without checking. To keep the behavior the same (for whatever reasons, probably not important), still raise an error if the libmpv API function returns an error that the argument was bad. (The check_loglevel() function is still used when the script _emits_ log messages, which is different, and for which there is no API anyway.)
Diffstat (limited to 'player/loadfile.c')
0 files changed, 0 insertions, 0 deletions