Mercurial > mplayer.hg
diff 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 |
line wrap: on
line diff
--- a/cfg-mplayer.h Wed Oct 10 01:49:41 2001 +0000 +++ b/cfg-mplayer.h Wed Oct 10 13:07:42 2001 +0000 @@ -37,6 +37,9 @@ #ifdef USE_SUB extern int sub_unicode; extern int sub_utf8; +#ifdef USE_ICONV +extern char *sub_cp; +#endif #endif #ifdef USE_OSD @@ -119,6 +122,9 @@ {"encode", &encode_name, CONF_TYPE_STRING, 0, 0, 0}, #ifdef USE_SUB {"sub", &sub_name, CONF_TYPE_STRING, 0, 0, 0}, +#ifdef USE_ICONV + {"subcp", &sub_cp, CONF_TYPE_STRING, 0, 0, 0}, +#endif {"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},