[MPlayer-dev-eng] compiled error in last svn source
qwen dux
qwendu at gmail.com
Tue Nov 10 08:09:36 CET 2009
libvo/sub.o: In function
`vo_update_text_teletext':
sub.c:(.text+0x5c3): undefined reference to
`force_load_font'
sub.c:(.text+0x5dd): undefined reference to
`osd_font_scale_factor'
sub.c:(.text+0x5e8): undefined reference to `osd_font_scale_factor'
This error occued to the system without libfreetype2
There is a modified patch:
Index: libvo/font_load.c
===================================================================
--- libvo/font_load.c (revision 29857)
+++ libvo/font_load.c (working copy)
@@ -27,6 +27,8 @@
#include "font_load.h"
#include "mp_msg.h"
+int force_load_font;
+float osd_font_scale_factor = 4.0;
raw_file* load_raw(char *name,int verbose){
int bpp;
Index: libvo/font_load_ft.c
===================================================================
--- libvo/font_load_ft.c (revision 29857)
+++ libvo/font_load_ft.c (working copy)
@@ -57,7 +57,6 @@
char *subtitle_font_encoding = NULL;
float text_font_scale_factor = 3.5;
-float osd_font_scale_factor = 4.0;
float subtitle_font_radius = 2.0;
float subtitle_font_thickness = 2.0;
// 0 = no autoscale
@@ -68,7 +67,6 @@
int vo_image_width = 0;
int vo_image_height = 0;
-int force_load_font;
int using_freetype = 0;
int font_fontconfig = 1;
More information about the MPlayer-dev-eng
mailing list