Mercurial > mplayer.hg
comparison cfg-mplayer.h @ 725:3e5dbbc42864
Added -unicode switch to deal with unicode subs.
author | atmosfear |
---|---|
date | Tue, 08 May 2001 19:39:21 +0000 |
parents | c3e0bdb64027 |
children | e14114170e01 |
comparison
equal
deleted
inserted
replaced
724:e04e6f585b94 | 725:3e5dbbc42864 |
---|---|
19 extern int sdl_forcexv; | 19 extern int sdl_forcexv; |
20 #endif | 20 #endif |
21 | 21 |
22 extern int vo_dbpp; | 22 extern int vo_dbpp; |
23 extern int osd_level; | 23 extern int osd_level; |
24 extern int sub_unicode; | |
24 | 25 |
25 struct config conf[]={ | 26 struct config conf[]={ |
26 /* name, pointer, type, flags, min, max */ | 27 /* name, pointer, type, flags, min, max */ |
27 {"include", cfg_include, CONF_TYPE_FUNC_PARAM, 0, 0, 0}, /* this must be the first!!! */ | 28 {"include", cfg_include, CONF_TYPE_FUNC_PARAM, 0, 0, 0}, /* this must be the first!!! */ |
28 {"o", "Option -o has been renamed to -vo (video-out), use -vo !\n", | 29 {"o", "Option -o has been renamed to -vo (video-out), use -vo !\n", |
51 {"encode", &encode_name, CONF_TYPE_STRING, 0, 0, 0}, | 52 {"encode", &encode_name, CONF_TYPE_STRING, 0, 0, 0}, |
52 {"sub", &sub_name, CONF_TYPE_STRING, 0, 0, 0}, | 53 {"sub", &sub_name, CONF_TYPE_STRING, 0, 0, 0}, |
53 {"subdelay", &sub_delay, CONF_TYPE_FLOAT, 0, 0.0, 10.0}, | 54 {"subdelay", &sub_delay, CONF_TYPE_FLOAT, 0, 0.0, 10.0}, |
54 {"subfps", &sub_fps, CONF_TYPE_FLOAT, 0, 0.0, 10.0}, | 55 {"subfps", &sub_fps, CONF_TYPE_FLOAT, 0, 0.0, 10.0}, |
55 {"noautosub", &sub_auto, CONF_TYPE_FLAG, 0, 1, 0}, | 56 {"noautosub", &sub_auto, CONF_TYPE_FLAG, 0, 1, 0}, |
57 {"unicode", &sub_unicode, CONF_TYPE_FLAG, 0, 0, 1}, | |
58 {"nounicode", &sub_unicode, CONF_TYPE_FLAG, 0, 1, 0}, | |
56 {"font", &font_name, CONF_TYPE_STRING, 0, 0, 0}, | 59 {"font", &font_name, CONF_TYPE_STRING, 0, 0, 0}, |
57 {"ffactor", &font_factor, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 10.0}, | 60 {"ffactor", &font_factor, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 10.0}, |
58 {"bg", &play_in_bg, CONF_TYPE_FLAG, 0, 0, 1}, | 61 {"bg", &play_in_bg, CONF_TYPE_FLAG, 0, 0, 1}, |
59 {"nobg", &play_in_bg, CONF_TYPE_FLAG, 0, 1, 0}, | 62 {"nobg", &play_in_bg, CONF_TYPE_FLAG, 0, 1, 0}, |
60 {"sb", &seek_to_byte, CONF_TYPE_INT, CONF_MIN, 0, 0}, | 63 {"sb", &seek_to_byte, CONF_TYPE_INT, CONF_MIN, 0, 0}, |