~guidocella/mpv-image-config

01d84f60131383dd54397cd332ed073b31958bb0 — Guido Cella 1 year, 2 months ago 8c3d033
remove image check for aligning large images

There is no harm in applying this to videos.
1 files changed, 0 insertions(+), 4 deletions(-)

M scripts/align-images.lua
M scripts/align-images.lua => scripts/align-images.lua +0 -4
@@ 6,10 6,6 @@ require 'mp.options'.read_options(options, nil, function () end)

-- Align the OSD to the top right corner of images bigger than the OSD.
mp.register_event('video-reconfig', function ()
    if not mp.get_property_native('current-tracks/video/image') then
        return
    end

    local dims = mp.get_property_native('osd-dimensions')

    if dims.ml + dims.mr < 0 then