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 3, 2024
1 parent 5eba390 commit a53f1a3
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-color=0.0/0.0/0.0/1.0
osd-outline-size=20
script-opt=stats-border_size=12

[osd-box]
osd-back-color=0.0/0.0/0.0/0.4
osd-outline-size=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 a53f1a3

Please sign in to comment.