Added -unicode switch to deal with unicode subs.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@726 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
atmosfear 2001-05-08 19:39:21 +00:00
parent 5dbfa12966
commit d53a450b5e
1 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,7 @@ extern int sdl_forcexv;
extern int vo_dbpp;
extern int osd_level;
extern int sub_unicode;
struct config conf[]={
/* name, pointer, type, flags, min, max */
@ -53,6 +54,8 @@ struct config conf[]={
{"subdelay", &sub_delay, CONF_TYPE_FLOAT, 0, 0.0, 10.0},
{"subfps", &sub_fps, CONF_TYPE_FLOAT, 0, 0.0, 10.0},
{"noautosub", &sub_auto, CONF_TYPE_FLAG, 0, 1, 0},
{"unicode", &sub_unicode, CONF_TYPE_FLAG, 0, 0, 1},
{"nounicode", &sub_unicode, CONF_TYPE_FLAG, 0, 1, 0},
{"font", &font_name, CONF_TYPE_STRING, 0, 0, 0},
{"ffactor", &font_factor, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 10.0},
{"bg", &play_in_bg, CONF_TYPE_FLAG, 0, 0, 1},