dvb charset: added back AUTO_POLISH charset selection, fixes #2381

This commit is contained in:
Jaroslav Kysela 2014-10-16 09:06:19 +02:00
parent 954d98046c
commit e180b8dd4e
2 changed files with 2 additions and 1 deletions

View file

@ -155,6 +155,7 @@ dvb_charset_enum ( void *p )
"UTF-8",
"GB2312",
"UCS2",
"AUTO_POLISH",
};
htsmsg_t *m = htsmsg_create_list();
for ( i = 0; i < ARRAY_SIZE(charsets); i++)

View file

@ -251,7 +251,7 @@ dvb_get_string
}
// check for automatic polish charset detection
if (dvb_charset && strcmp("PL_AUTO", dvb_charset) == 0) {
if (dvb_charset && strcmp("AUTO_POLISH", dvb_charset) == 0) {
auto_pl_charset = 1;
dvb_charset = NULL;
}