[MPlayer-cvslog] r32636 - trunk/sub/font_load_ft.c

komh subversion at mplayerhq.hu
Sat Nov 20 12:39:05 CET 2010


Author: komh
Date: Sat Nov 20 12:39:05 2010
New Revision: 32636

Log:
Set font_fontconfig to -1 if CONFIG_FONTCONFIG is not configured.

Without this, -font and -subfont do not work when using -ass.

Modified:
   trunk/sub/font_load_ft.c

Modified: trunk/sub/font_load_ft.c
==============================================================================
--- trunk/sub/font_load_ft.c	Sat Nov 20 11:47:58 2010	(r32635)
+++ trunk/sub/font_load_ft.c	Sat Nov 20 12:39:05 2010	(r32636)
@@ -71,7 +71,11 @@ int vo_image_height = 0;
 int force_load_font;
 
 int using_freetype = 0;
+#ifdef CONFIG_FONTCONFIG
 int font_fontconfig = 1;
+#else
+int font_fontconfig = -1;
+#endif
 
 //// constants
 static unsigned int const colors = 256;


More information about the MPlayer-cvslog mailing list