mpv/sub
nanahi 07acdf09b3 sd_ass: fix margin y scale with font size
--sub-margin-y is documented to scale with font size, which is scaled
"by" or "with" window depending on the options. However, when using
ass_set_font_scale to change font size, the y margin isn't scaled, so it is
still scaled to video size. This causes the y margin size becoming smaller
when the video becomes smaller, even when the font size isn't changing.

Fix this by also scale the MarginV with the font scale. Also use lrint
instead of round.
2024-07-18 23:03:02 +02:00
..
ass_mp.c sub: add (sub/osd)-border-style; renaming sub options 2024-07-12 20:17:38 +00:00
ass_mp.h
dec_sub.c sub: avoid unneeded calls to is_animated 2024-06-04 12:29:13 +00:00
dec_sub.h sub: avoid unneeded calls to is_animated 2024-06-04 12:29:13 +00:00
draw_bmp.c
draw_bmp.h
filter_jsre.c
filter_regex.c
filter_sdh.c
img_convert.c
img_convert.h
lavc_conv.c various: remove no longer needed availability checks 2024-06-22 16:12:14 +02:00
meson.build
osd.c sub: add (sub/osd)-border-style; renaming sub options 2024-07-12 20:17:38 +00:00
osd.h sub: add (sub/osd)-border-style; renaming sub options 2024-07-12 20:17:38 +00:00
osd_font.otf
osd_libass.c sub: add (sub/osd)-border-style; renaming sub options 2024-07-12 20:17:38 +00:00
osd_state.h
sd.h
sd_ass.c sd_ass: fix margin y scale with font size 2024-07-18 23:03:02 +02:00
sd_lavc.c sub: update codec info 2024-06-08 23:06:22 +02:00