font_load_ft.c: disable -fontconfig if compiled without libfontconfig

Set the option value to disabled, not enabled, if the functionality is
not available at all. Without this, -font and -subfont do not work
when using -ass.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32636 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
komh 2010-11-20 11:39:05 +00:00 committed by Uoti Urpala
parent da15a4de00
commit 1eb15a1304
1 changed files with 4 additions and 0 deletions

View File

@ -70,7 +70,11 @@ int vo_image_height = 0;
int force_load_font;
int using_freetype = 0;
#ifdef CONFIG_FONTCONFIG
int font_fontconfig = 1;
#else
int font_fontconfig = -1;
#endif
//// constants
static unsigned int const colors = 256;