[MPlayer-dev-eng] mencoder and freetype

Chris Roccati roccati at pobox.com
Sat Jul 1 14:05:00 CEST 2006


Hello,
some recent change in the SVN has imposed to mcoder a dependence on  
freetype: instead of using libvo/libvo.a, mencoder directly depends  
on libvo/font_load_ft.c (etc) causing the build to fail if freetype  
is disabled or not available. Is this an accident or a design choice?

mencoder builds and appears to work fine with these changes:

--- mplayer/Makefile    2006-06-30 23:25:38.000000000 +0200
+++ mplayer_patch/Makefile      2006-07-01 13:58:07.000000000 +0200
@@ -41,11 +41,6 @@
                  mp_msg-mencoder.c \
                  $(SRCS_COMMON) \
                  divx4_vbr.c \
-                libvo/aclib.c \
-                libvo/font_load.c \
-                libvo/font_load_ft.c \
-                libvo/osd.c \
-                libvo/sub.c \
                  parser-mecmd.c \
                  xvid_vbr.c \
@@ -414,6 +409,7 @@
ifeq ($(MENCODER),yes)
LIBS_MENCODER = libmpcodecs/libmpencoders.a \
+                               libvo/libvo.a \
                  $(ENCORE_LIB) \
                  $(COMMON_LIBS) \
                  $(EXTRA_LIB) \

but obviously I didn't test it very deeply.





More information about the MPlayer-dev-eng mailing list