1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-05 22:49:58 +00:00

sd_ass: only set sub-scale for 'scale', 'force' or 'strip'

Currently we also set it for sub-ass-override=yes which is unintended
This commit is contained in:
llyyr 2024-05-26 12:02:50 +05:30 committed by Dudemanguy
parent 42181a8769
commit af7ab6f603

View File

@ -489,6 +489,8 @@ static void configure_ass(struct sd *sd, struct mp_osd_res *dim,
set_sub_pos = 100.0f - shared_opts->sub_pos[sd->order];
set_line_spacing = opts->ass_line_spacing;
set_hinting = opts->ass_hinting;
}
if (total_override || shared_opts->ass_style_override[sd->order] == 4) {
set_font_scale = opts->sub_scale;
}
if (set_scale_with_window) {