mirror of https://github.com/mpv-player/mpv
sd_ass: replace a deprecated libass API call
This commit is contained in:
parent
9349cfca91
commit
eb0db4d6fd
|
@ -211,7 +211,7 @@ static void get_bitmaps(struct sd *sd, struct mp_osd_res dim, double pts,
|
||||||
scale = par;
|
scale = par;
|
||||||
}
|
}
|
||||||
configure_ass(sd, &dim);
|
configure_ass(sd, &dim);
|
||||||
ass_set_aspect_ratio(renderer, scale, 1);
|
ass_set_pixel_aspect(renderer, scale);
|
||||||
if (!ctx->is_converted && (!opts->ass_style_override ||
|
if (!ctx->is_converted && (!opts->ass_style_override ||
|
||||||
opts->ass_vsfilter_blur_compat))
|
opts->ass_vsfilter_blur_compat))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue