[MPlayer-dev-eng] [PATCH] compile error without freetype

Alexander Gottwald Alexander.Gottwald at informatik.tu-chemnitz.de
Thu Aug 29 22:36:07 CEST 2002


Hi,

This patch fixes a compile error when HAVE_FREETYPE is not defined.

bye
    ago
-- 
 Alexander.Gottwald at informatik.tu-chemnitz.de
 http://www.gotti.org           ICQ: 126018723
-------------- next part --------------
Index: Gui/cfg.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/cfg.c,v
retrieving revision 1.10
diff -u -r1.10 cfg.c
--- Gui/cfg.c	29 Aug 2002 17:16:32 -0000	1.10
+++ Gui/cfg.c	29 Aug 2002 20:47:43 -0000
@@ -82,12 +82,14 @@
  { "sub_pos",&sub_pos,CONF_TYPE_INT,CONF_RANGE,0,200,NULL },
  { "font_factor",&font_factor,CONF_TYPE_FLOAT,CONF_RANGE,0.0,10.0,NULL },
  { "font_name",&font_name,CONF_TYPE_STRING,0,0,0,NULL },
+#ifdef HAVE_FREETYPE 
  { "font_encoding",&subtitle_font_encoding,CONF_TYPE_STRING,0,0,0,NULL },
  { "font_text_scale",&text_font_scale_factor,CONF_TYPE_FLOAT,CONF_RANGE,0,100,NULL },
  { "font_osd_scale",&osd_font_scale_factor,CONF_TYPE_FLOAT,CONF_RANGE,0,100,NULL },
  { "font_blur",&subtitle_font_thickness,CONF_TYPE_FLOAT,CONF_RANGE,0,8,NULL },
  { "font_outline",&subtitle_font_thickness,CONF_TYPE_FLOAT,CONF_RANGE,0,8,NULL },
  { "font_autoscale",&subtitle_autoscale,CONF_TYPE_INT,CONF_RANGE,0,3,NULL },
+#endif
  
  { "gui_skin",&skinName,CONF_TYPE_STRING,0,0,0,NULL },
 


More information about the MPlayer-dev-eng mailing list