From 68d9ed25720ef8e751f64bd3cf5ab4afa899aaf2 Mon Sep 17 00:00:00 2001 From: norinoriko <167651573+norinoriko@users.noreply.github.com> Date: Wed, 20 Nov 2024 20:42:20 +0000 Subject: [PATCH] sub/osd: adjust osd margins --- DOCS/man/options.rst | 4 ++-- sub/osd.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 8fc814049c..6cc554f48f 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -4601,7 +4601,7 @@ 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=`` 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. - Default: 15 + Default: 16 ``--osd-align-x=`` Control to which corner of the screen OSD should be diff --git a/sub/osd.c b/sub/osd.c index a720668735..989696721c 100644 --- a/sub/osd.c +++ b/sub/osd.c @@ -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, },