osc.lua: add auto value to vidscale option

This adds auto to vidscale script option, which lets the scale be
inherited from OSD --osd-scale-by-window option.
This commit is contained in:
nanahi
2024-05-16 09:54:34 -04:00
committed by Kacper Michajłow
parent e61911c513
commit 0c74199a8f
3 changed files with 14 additions and 4 deletions

View File

@@ -250,8 +250,10 @@ Configurable Options
``vidscale``
Default: yes
Scale the OSC with the video
``no`` tries to keep the OSC size constant as much as the window size allows
Scale the OSC with the video.
``no`` tries to keep the OSC size constant as much as the window size allows.
``auto`` scales the OSC with the OSD, which is scaled with the window or kept at a
constant size, depending on the ``--osd-scale-by-window`` option.
``valign``
Default: 0.8