diff options
Diffstat (limited to 'mencoder.c')
-rw-r--r-- | mencoder.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mencoder.c b/mencoder.c index 56e5411226..98dafa6e2a 100644 --- a/mencoder.c +++ b/mencoder.c @@ -390,6 +390,9 @@ if(!parse_codec_cfg(get_path("codecs.conf"))){ // check font #ifdef USE_OSD +#ifdef HAVE_FREETYPE + init_freetype(); +#else if(font_name){ vo_font=read_font_desc(font_name,font_factor,verbose>1); if(!vo_font) mp_msg(MSGT_CPLAYER,MSGL_ERR,MSGTR_CantLoadFont,font_name); @@ -400,6 +403,7 @@ if(!parse_codec_cfg(get_path("codecs.conf"))){ vo_font=read_font_desc(DATADIR"/font/font.desc",font_factor,verbose>1); } #endif +#endif vo_init_osd(); |