mirror of https://github.com/mpv-player/mpv
sub: remove use of semi-deprecated libass field
In newer libass version, this does nothing, and will be removed on the next API/ABI bump.
This commit is contained in:
parent
3c081dfd93
commit
cf18922d19
|
@ -44,7 +44,6 @@ void mp_ass_set_style(ASS_Style *style, double res_y,
|
|||
if (!style->FontName || strcmp(style->FontName, opts->font) != 0) {
|
||||
free(style->FontName);
|
||||
style->FontName = strdup(opts->font);
|
||||
style->treat_fontname_as_pattern = 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue