Mercurial > mplayer.hg
diff mplayer.c @ 27393:4876c89bafdd
Rename font-related preprocessor directives.
Switch them from a HAVE_ to a CONFIG_ prefix.
author | diego |
---|---|
date | Thu, 07 Aug 2008 10:36:07 +0000 |
parents | 1d2faa1020fb |
children | d47744b95b78 |
line wrap: on
line diff
--- a/mplayer.c Thu Aug 07 09:53:59 2008 +0000 +++ b/mplayer.c Thu Aug 07 10:36:07 2008 +0000 @@ -698,7 +698,7 @@ vo_uninit(); // Close the X11 connection (if any is open). #endif -#ifdef HAVE_FREETYPE +#ifdef CONFIG_FREETYPE current_module="uninit_font"; if (sub_font && sub_font != vo_font) free_font_desc(sub_font); sub_font = NULL; @@ -1027,7 +1027,7 @@ subd = sub_read_file(filename, fps); #ifdef CONFIG_ASS if (ass_enabled) -#ifdef HAVE_ICONV +#ifdef CONFIG_ICONV asst = ass_read_file(ass_library, filename, sub_cp); #else asst = ass_read_file(ass_library, filename, 0); @@ -2782,10 +2782,10 @@ //------ load global data first ------ // check font -#ifdef HAVE_FREETYPE +#ifdef CONFIG_FREETYPE init_freetype(); #endif -#ifdef HAVE_FONTCONFIG +#ifdef CONFIG_FONTCONFIG if(font_fontconfig <= 0) { #endif @@ -2806,7 +2806,7 @@ else sub_font = vo_font; #endif -#ifdef HAVE_FONTCONFIG +#ifdef CONFIG_FONTCONFIG } #endif @@ -3543,7 +3543,7 @@ if(vo_flags & 0x08 && vo_spudec) spudec_set_hw_spu(vo_spudec,mpctx->video_out); -#ifdef HAVE_FREETYPE +#ifdef CONFIG_FREETYPE force_load_font = 1; #endif