summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-10-28 23:49:13 +0100
committerwm4 <wm4@nowhere>2015-10-28 23:49:13 +0100
commitcf18922d197babf74891d0d5950f602a80734e89 (patch)
tree70445575ffed584bb8b64b3e734bf58807be8746
parent3c081dfd938181dcd0c7dfedbbc3db460d757e38 (diff)
downloadmpv-cf18922d197babf74891d0d5950f602a80734e89.tar.bz2
mpv-cf18922d197babf74891d0d5950f602a80734e89.tar.xz
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.
-rw-r--r--sub/ass_mp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sub/ass_mp.c b/sub/ass_mp.c
index b413a28d90..a3a7c73cd3 100644
--- a/sub/ass_mp.c
+++ b/sub/ass_mp.c
@@ -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;
}
}