summaryrefslogtreecommitdiffstats
path: root/cfg-common.h
diff options
context:
space:
mode:
authorulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-12 10:00:34 +0000
committerulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-12 10:00:34 +0000
commit4f4c08415ccea8def40d0c2192660ab01cb93be5 (patch)
treef470e27a3fda8f47da0f6c661093a5bbf39770d8 /cfg-common.h
parentdf7795b63a4ea9008c9f208b3a9d584c7fe0bb00 (diff)
downloadmpv-4f4c08415ccea8def40d0c2192660ab01cb93be5.tar.bz2
mpv-4f4c08415ccea8def40d0c2192660ab01cb93be5.tar.xz
Fix libass to support -nofontconfig.
For history reason, fontconfig is auto-enabled when ass is enabled, we keep this behavior and document it clearly. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25379 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-common.h')
-rw-r--r--cfg-common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cfg-common.h b/cfg-common.h
index 597deda27d..c9c8756edf 100644
--- a/cfg-common.h
+++ b/cfg-common.h
@@ -329,8 +329,8 @@
{"ass-hinting", &ass_hinting, CONF_TYPE_INT, CONF_RANGE, 0, 7, NULL},
#endif
#ifdef HAVE_FONTCONFIG
- {"fontconfig", &font_fontconfig, CONF_TYPE_FLAG, 0, 0, 1, NULL},
- {"nofontconfig", &font_fontconfig, CONF_TYPE_FLAG, 0, 1, 0, NULL},
+ {"fontconfig", &font_fontconfig, CONF_TYPE_FLAG, 0, -1, 1, NULL},
+ {"nofontconfig", &font_fontconfig, CONF_TYPE_FLAG, 0, 1, -1, NULL},
#else
{"fontconfig", "MPlayer was compiled without fontconfig support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
{"nofontconfig", "MPlayer was compiled without fontconfig support.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},