Skip to content

Commit

Permalink
Merge pull request #74 from kars0n777/master
Browse files Browse the repository at this point in the history
change video-aspect to video-aspect-override
  • Loading branch information
occivink authored Dec 18, 2023
2 parents ad81737 + 3a8bf8c commit f0426bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/blur-edges.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function set_blur()
if applied then return end
if not mp.get_property("video-out-params") then return end
if opts.only_fullscreen and not mp.get_property_bool("fullscreen") then return end
local video_aspect = mp.get_property_number("video-aspect")
local video_aspect = mp.get_property_number("video-aspect-override")
local ww, wh = mp.get_osd_size()

if math.abs(ww/wh - video_aspect) < 0.05 then return end
Expand Down

0 comments on commit f0426bd

Please sign in to comment.