diff options
author | atlka <atlka@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-10-10 13:07:42 +0000 |
---|---|---|
committer | atlka <atlka@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-10-10 13:07:42 +0000 |
commit | 0a5c47a028ec53413f55781b99fcc67fca764aa1 (patch) | |
tree | 5acecd782c186adf00fa28ec54c125ffcb8df60d /cfg-mplayer.h | |
parent | 8137a7a4b2802bd244cf523f50f12d1154bbe89b (diff) | |
download | mpv-0a5c47a028ec53413f55781b99fcc67fca764aa1.tar.bz2 mpv-0a5c47a028ec53413f55781b99fcc67fca764aa1.tar.xz |
modifications to use iconv(3) function to recode text of subs (autodetect)
added option -subcp <cpname> # for example cp1250, latin2 etc.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2152 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r-- | cfg-mplayer.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h index a37329587a..26da80aebc 100644 --- a/cfg-mplayer.h +++ b/cfg-mplayer.h @@ -37,6 +37,9 @@ extern int vo_dbpp; #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 @@ struct config conf[]={ {"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}, |