summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@blackbox>2010-01-25 13:57:32 +0100
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-01-27 12:46:59 +0200
commit42a87fc6113bc14bbd14681e209a8c91c4b87a90 (patch)
tree272e1cdfe7dd867ed2a4d1563a03940f307f3342 /mplayer.c
parente28e4a1b157bd0e9620fcff956d713a9921f506c (diff)
downloadmpv-42a87fc6113bc14bbd14681e209a8c91c4b87a90.tar.bz2
mpv-42a87fc6113bc14bbd14681e209a8c91c4b87a90.tar.xz
Disable libass fallbacks for fontconfig < 2.4.2
libass doesn't support fontconfig < 2.4.2 so fallbacks for these ancient versions aren't needed anymore. Also update the man page (English, German) to reflect the change. Additionally note that -embeddedfonts controls the use of ASS script embedded fonts too. -embeddedfonts is now always enabled by default. Fonts are never extracted into a directory anymore but passed to libass via memory.
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index de1c8e08f0..a6e3882157 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -3670,7 +3670,7 @@ if (opts->ass_enabled && ass_library) {
struct demuxer *d = mpctx->sources[j].demuxer;
for (int i = 0; i < d->num_attachments; i++) {
struct demux_attachment *att = d->attachments + i;
- if (extract_embedded_fonts
+ if (use_embedded_fonts
&& att->name && att->type && att->data && att->data_size
&& (strcmp(att->type, "application/x-truetype-font") == 0
|| strcmp(att->type, "application/x-font") == 0))