comparison cfg-mplayer.h @ 2151:a9d91476085a

modifications to use iconv(3) function to recode text of subs (autodetect) added option -subcp <cpname> # for example cp1250, latin2 etc.
author atlka
date Wed, 10 Oct 2001 13:07:42 +0000
parents 720ca9249e4e
children e509abdbf195
comparison
equal deleted inserted replaced
2150:93e0ed86705e 2151:a9d91476085a
35 #endif 35 #endif
36 36
37 #ifdef USE_SUB 37 #ifdef USE_SUB
38 extern int sub_unicode; 38 extern int sub_unicode;
39 extern int sub_utf8; 39 extern int sub_utf8;
40 #ifdef USE_ICONV
41 extern char *sub_cp;
42 #endif
40 #endif 43 #endif
41 44
42 #ifdef USE_OSD 45 #ifdef USE_OSD
43 extern int osd_level; 46 extern int osd_level;
44 #endif 47 #endif
117 {"monitor_dotclock", &monitor_dotclock_str, CONF_TYPE_STRING, 0, 0, 0}, 120 {"monitor_dotclock", &monitor_dotclock_str, CONF_TYPE_STRING, 0, 0, 0},
118 #endif 121 #endif
119 {"encode", &encode_name, CONF_TYPE_STRING, 0, 0, 0}, 122 {"encode", &encode_name, CONF_TYPE_STRING, 0, 0, 0},
120 #ifdef USE_SUB 123 #ifdef USE_SUB
121 {"sub", &sub_name, CONF_TYPE_STRING, 0, 0, 0}, 124 {"sub", &sub_name, CONF_TYPE_STRING, 0, 0, 0},
125 #ifdef USE_ICONV
126 {"subcp", &sub_cp, CONF_TYPE_STRING, 0, 0, 0},
127 #endif
122 {"subdelay", &sub_delay, CONF_TYPE_FLOAT, 0, 0.0, 10.0}, 128 {"subdelay", &sub_delay, CONF_TYPE_FLOAT, 0, 0.0, 10.0},
123 {"subfps", &sub_fps, CONF_TYPE_FLOAT, 0, 0.0, 10.0}, 129 {"subfps", &sub_fps, CONF_TYPE_FLOAT, 0, 0.0, 10.0},
124 {"noautosub", &sub_auto, CONF_TYPE_FLAG, 0, 1, 0}, 130 {"noautosub", &sub_auto, CONF_TYPE_FLAG, 0, 1, 0},
125 {"unicode", &sub_unicode, CONF_TYPE_FLAG, 0, 0, 1}, 131 {"unicode", &sub_unicode, CONF_TYPE_FLAG, 0, 0, 1},
126 {"nounicode", &sub_unicode, CONF_TYPE_FLAG, 0, 1, 0}, 132 {"nounicode", &sub_unicode, CONF_TYPE_FLAG, 0, 1, 0},