sub/osd: adjust osd margins

This commit is contained in:
norinoriko 2024-11-20 20:42:20 +00:00 committed by Kacper Michajłow
parent 4b11f66eb1
commit 68d9ed2572
2 changed files with 4 additions and 4 deletions

View File

@ -4601,7 +4601,7 @@ OSD
This option specifies the distance of the OSD to the left, as well as at 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. which distance from the right border long OSD text will be broken.
Default: 15 Default: 16
``--osd-margin-y=<size>`` ``--osd-margin-y=<size>``
Top and bottom screen margin for the OSD in scaled pixels (see Top and bottom screen margin for the OSD in scaled pixels (see
@ -4609,7 +4609,7 @@ OSD
This option specifies the vertical margins of the OSD. This option specifies the vertical margins of the OSD.
Default: 15 Default: 16
``--osd-align-x=<left|center|right>`` ``--osd-align-x=<left|center|right>``
Control to which corner of the screen OSD should be Control to which corner of the screen OSD should be

View File

@ -88,8 +88,8 @@ const struct m_sub_options osd_style_conf = {
.border_style = 1, .border_style = 1,
.outline_size = 1.65, .outline_size = 1.65,
.shadow_offset = 0, .shadow_offset = 0,
.margin_x = 15, .margin_x = 16,
.margin_y = 15, .margin_y = 16,
.align_x = -1, .align_x = -1,
.align_y = -1, .align_y = -1,
}, },