Mercurial > mplayer.hg
changeset 36651:64f9837de3a5
Don't unnecessarily load a font.
Leave it to MPlayer to carry it out.
This improves speed dramatically and allows changing font related
settings during playback of a video with immediate effect.
author | ib |
---|---|
date | Sun, 26 Jan 2014 16:44:31 +0000 |
parents | 8b2c68d6fd89 |
children | aff6fa4a1f70 |
files | gui/interface.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/interface.c Sun Jan 26 16:40:49 2014 +0000 +++ b/gui/interface.c Sun Jan 26 16:44:31 2014 +0000 @@ -1085,7 +1085,7 @@ #ifdef CONFIG_FREETYPE set_fontconfig(); - load_font_ft(vo_image_width, vo_image_height, &vo_font, font_name, osd_font_scale_factor); + force_load_font = 1; #else if (vo_font) { int i;