Skip to content

Commit

Permalink
etc/builtin.conf: add osd-shadow profile
Browse files Browse the repository at this point in the history
  • Loading branch information
kasper93 committed Nov 4, 2024
1 parent 2a65b6f commit e11021b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions etc/builtin.conf
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ sws-fast=yes
zimg-scaler=bilinear
zimg-dither=no

[osd-shadow]
osd-blur=35
osd-outline-size=20
script-opt=console-border_size=12
script-opt=stats-border_size=12

[osd-box]
osd-back-color="#8C000000"
osd-blur=0
Expand Down
2 changes: 1 addition & 1 deletion sub/osd.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ static const m_option_t style_opts[] = {
{"left", -1}, {"center", 0}, {"right", +1})},
{"align-y", OPT_CHOICE(align_y,
{"top", -1}, {"center", 0}, {"bottom", +1})},
{"blur", OPT_FLOAT(blur), M_RANGE(0, 20)},
{"blur", OPT_FLOAT(blur), M_RANGE(0, 100)},
{"bold", OPT_BOOL(bold)},
{"italic", OPT_BOOL(italic)},
{"justify", OPT_CHOICE(justify,
Expand Down

0 comments on commit e11021b

Please sign in to comment.