Update mpv config:
This commit is contained in:
parent
64e685695e
commit
d1e0b97d62
36 changed files with 5555 additions and 10 deletions
13
mpv/scripts/hdr-toys.lua
Normal file
13
mpv/scripts/hdr-toys.lua
Normal 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)
|
Loading…
Add table
Add a link
Reference in a new issue