summaryrefslogtreecommitdiffstats
path: root/player/lua/osc.lua
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-12-19 12:50:10 +0100
committerwm4 <wm4@nowhere>2019-12-19 12:52:13 +0100
commit3ed96cca883f659c87d591334f345cbec9e2db85 (patch)
tree0461d093f9190964e3cfc2bde53d6b6c90bfb13f /player/lua/osc.lua
parent48f906249ef359c66fc6c5bf4cc5885c8293bf8e (diff)
downloadmpv-3ed96cca883f659c87d591334f345cbec9e2db85.tar.bz2
mpv-3ed96cca883f659c87d591334f345cbec9e2db85.tar.xz
command: reduce OSC/stats log spam
For some inexplicable reason, the OSC runs the expand-text command a _lot_. This command is logged at the log file default log level, so the log file can quickly fill up with these messages. It directly violates the mpv logging policy: per-frame (or similarly common) log messages should not be enabled by default for the log file. stats.lua uses the show-text command for some reason (instead of creating its own OSD layer). Explicitly reduce the log level for expand-text and some other commands. Also reduce the log level for commands triggered by mouse movement. The previous commit also contributed some to reduce log spam. Fixes: #4771
Diffstat (limited to 'player/lua/osc.lua')
0 files changed, 0 insertions, 0 deletions