Skip to content

Commit

Permalink
sub/osd: adjust osd margins
Browse files Browse the repository at this point in the history
  • Loading branch information
norinoriko authored and kasper93 committed Nov 21, 2024
1 parent 4b11f66 commit 68d9ed2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions DOCS/man/options.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4601,15 +4601,15 @@ OSD
This option specifies the distance of the OSD to the left, as well as at
which distance from the right border long OSD text will be broken.

Default: 15
Default: 16

``--osd-margin-y=<size>``
Top and bottom screen margin for the OSD in scaled pixels (see
``--sub-font-size`` for details).

This option specifies the vertical margins of the OSD.

Default: 15
Default: 16

``--osd-align-x=<left|center|right>``
Control to which corner of the screen OSD should be
Expand Down
4 changes: 2 additions & 2 deletions sub/osd.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ const struct m_sub_options osd_style_conf = {
.border_style = 1,
.outline_size = 1.65,
.shadow_offset = 0,
.margin_x = 15,
.margin_y = 15,
.margin_x = 16,
.margin_y = 16,
.align_x = -1,
.align_y = -1,
},
Expand Down

0 comments on commit 68d9ed2

Please sign in to comment.