diff -NpuBr -Xexclude.txt main/mplayer.c sherpya/mplayer.c --- main/mplayer.c 2010-07-16 01:27:57.562500000 +0200 +++ sherpya/mplayer.c 2010-07-16 01:38:30.078125000 +0200 @@ -148,6 +148,10 @@ char *heartbeat_cmd; m_config_t* mconfig; +#ifdef CONFIG_FONTCONFIG +#include +#endif + //**************************************************************************// // Config file //**************************************************************************// @@ -2948,6 +2952,17 @@ if(!codecs_file || !parse_codec_cfg(code #endif #ifdef CONFIG_FONTCONFIG } + else + { + /* force cache creation here and display fontconfig scan activity */ + extern int FcDebugVal; + FcDebugVal = 128; +#ifdef _WIN32 + FcConfigEnableHome(FcFalse); +#endif + FcInit(); + FcDebugVal = 0; + } #endif vo_init_osd();