]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
dvb charset: added back AUTO_POLISH charset selection, fixes #2381
authorJaroslav Kysela <perex@perex.cz>
Thu, 16 Oct 2014 07:06:19 +0000 (09:06 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 16 Oct 2014 07:06:19 +0000 (09:06 +0200)
src/input/mpegts/dvb_charset.c
src/input/mpegts/dvb_support.c

index 1c22738ac1619b4d64e9a399592164215ff5d1f8..5165cb31954465fa440127454c199f9ec5ad51e7 100644 (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++)
index 36dce6773b4a0e12d3be56c68beec1f0f39095e5..acf6fe3c37da41f5488dda037c0f65065400df67 100644 (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;
   }