mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 16:33:02 +00:00
{stats,osc}.lua: respect --osd-scale-by-window by default
This lets these scripts scale the elements with OSD by default.
This commit is contained in:
parent
1f29d037a0
commit
85b3a6e567
@ -1,2 +1,3 @@
|
||||
change `vidscale` script option type to string for osc.lua
|
||||
change `vidscale` script option type to string for stats.lua
|
||||
change `vidscale` default from `yes` to `auto` for osc.lua and stats.lua
|
||||
|
@ -248,7 +248,7 @@ Configurable Options
|
||||
Scale factor of the OSC when fullscreen
|
||||
|
||||
``vidscale``
|
||||
Default: yes
|
||||
Default: auto
|
||||
|
||||
Scale the OSC with the video.
|
||||
``no`` tries to keep the OSC size constant as much as the window size allows.
|
||||
|
@ -199,7 +199,7 @@ Configurable Options
|
||||
Color used for drawing graphs.
|
||||
|
||||
``vidscale``
|
||||
Default: yes
|
||||
Default: auto
|
||||
|
||||
Scale the text and graphs with the video.
|
||||
``no`` tries to keep the sizes constant.
|
||||
|
@ -14,7 +14,7 @@ local user_opts = {
|
||||
idlescreen = true, -- show mpv logo on idle
|
||||
scalewindowed = 1, -- scaling of the controller when windowed
|
||||
scalefullscreen = 1, -- scaling of the controller when fullscreen
|
||||
vidscale = "yes", -- scale the controller with the video?
|
||||
vidscale = "auto", -- scale the controller with the video?
|
||||
valign = 0.8, -- vertical alignment, -1 (top) to 1 (bottom)
|
||||
halign = 0, -- horizontal alignment, -1 (left) to 1 (right)
|
||||
barmargin = 0, -- vertical margin of top/bottombar
|
||||
|
@ -60,7 +60,7 @@ local o = {
|
||||
shadow_y_offset = 0.0,
|
||||
shadow_color = "",
|
||||
alpha = "11",
|
||||
vidscale = "yes",
|
||||
vidscale = "auto",
|
||||
|
||||
-- Custom header for ASS tags to style the text output.
|
||||
-- Specifying this will ignore the text style values above and just
|
||||
|
Loading…
Reference in New Issue
Block a user