Upload files to 'mpv/scripts'

This commit is contained in:
Kibi Kelburton 2022-04-09 23:11:31 +02:00
parent 875743a555
commit 5b21c9685f
2 changed files with 2731 additions and 0 deletions

12
mpv/scripts/freezer.lua Normal file
View File

@ -0,0 +1,12 @@
local size_changed = false
mp.register_idle(function()
if not size_changed then return end
local ww, wh = mp.get_osd_size()
if not ww or ww <= 0 or not wh or wh <= 0 then return end
mp.set_property("geometry", string.format("%dx%d", ww, wh))
size_changed = false
end)
mp.observe_property("osd-width", "native", function() size_changed = true end)
mp.observe_property("osd-height", "native", function() size_changed = true end)

2719
mpv/scripts/webm.lua Normal file

File diff suppressed because it is too large Load Diff