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:
1 parent
3c081dfd93
commit
cf18922d19
1 file changed
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user