Update mpv config:

This commit is contained in:
aria 2025-05-26 00:03:04 +10:00
parent 64e685695e
commit d1e0b97d62
Signed by: aria
SSH key fingerprint: SHA256:WqtcVnDMrv1lnUlNah5k31iywFUI/DV+5yHzCTO4Vds
36 changed files with 5555 additions and 10 deletions

13
mpv/scripts/hdr-toys.lua Normal file
View file

@ -0,0 +1,13 @@
local options = require("mp.options")
local o = {
temporal_stable_time = 1 / 3,
}
options.read_options(o, _, function() end)
mp.observe_property("container-fps", "native", function (property, value)
if not value then return end
value = value * o.temporal_stable_time
value = math.floor(value + 0.5)
mp.command("no-osd set glsl-shader-opts temporal_stable_frames=" .. value)
end)