[MPlayer-cvslog] r36747 - trunk/gui/interface.c
ib
subversion at mplayerhq.hu
Sun Jan 26 17:44:31 CET 2014
Author: ib
Date: Sun Jan 26 17:44:31 2014
New Revision: 36747
Log:
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.
Modified:
trunk/gui/interface.c
Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c Sun Jan 26 17:40:49 2014 (r36746)
+++ trunk/gui/interface.c Sun Jan 26 17:44:31 2014 (r36747)
@@ -1085,7 +1085,7 @@ void mplayerLoadFont(void)
#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;
More information about the MPlayer-cvslog
mailing list