1
mirror of https://github.com/mpv-player/mpv synced 2024-11-14 22:48:35 +01:00

stats.lua: remove unused variables

This commit is contained in:
Kacper Michajłow 2024-04-13 05:05:09 +02:00
parent 94fbd3683a
commit 7a0c8c4619

View File

@ -891,10 +891,6 @@ local function add_video(s)
return
end
local osd_dims = mp.get_property_native("osd-dimensions")
local scaled_width = osd_dims["w"] - osd_dims["ml"] - osd_dims["mr"]
local scaled_height = osd_dims["h"] - osd_dims["mt"] - osd_dims["mb"]
append(s, "", {prefix=o.nl .. o.nl .. "Video:", nl="", indent=""})
if append_property(s, "video-codec", {prefix_sep="", nl="", indent=""}) then
append_property(s, "hwdec-current", {prefix="HW:", nl="",