summaryrefslogtreecommitdiff
path: root/libsi
diff options
context:
space:
mode:
authorKlaus Schmidinger <kls (at) cadsoft (dot) de>2008-03-16 18:00:00 +0100
committerKlaus Schmidinger <kls (at) cadsoft (dot) de>2008-03-16 18:00:00 +0100
commit7ba8708b5b38ea311a3a1247f7d74032a0530b82 (patch)
tree630ed7928c75094723aab263e31ce77ce97cf48c /libsi
parent0872cba0a10c1350e6f694ea2296947428a97326 (diff)
downloadvdr-patch-lnbsharing-7ba8708b5b38ea311a3a1247f7d74032a0530b82.tar.gz
vdr-patch-lnbsharing-7ba8708b5b38ea311a3a1247f7d74032a0530b82.tar.bz2
Version 1.5.18vdr-1.5.18
- Added a missing reset of maxNumber in cChannels::Renumber() (reported by Sundararaj Reel). - Revoked the fixed change of the default character set for SI data and introduced an environment variable to control it (thanks to Ales Jurik for reporting broken SI data on the Czech/Slovak channels, which actually do follow the standard). Users who want to set the default character set to something different can do this by setting the environment variable VDR_CHARSET_OVERRIDE to something like ISO-8859-9. - Fixed a signed character used as index in cBase64Encoder::NextLine() (thanks to Tobias Grimm). - Updated the Spanish and Catalanian OSD texts (thanks to Luca Olivetti). - Fixed automatically selecting the preferred subtitle language (based on a patch from Rolf Ahrenberg). - Updated the Ukrainian OSD texts (thanks to Yarema Aka Knedlyk). - Updated the Italian OSD texts (thanks to Diego Pierotto). - Updated the Polish OSD texts (thanks to Michael Rakowski). - Fixed formatting the name section in the VDR man pages (thanks to Tobias Grimm). - Updated the Swedish OSD texts (thanks to Magnus Andersson). - Added Russian translations to the 'skincurses' and 'pictures' plugins (thanks to Alexander Gross). - Fixed displaying the free disk space when entering the recordings menu where the last replayed recording was in a subdirectory, and pressing Back (thanks to Rolf Ahrenberg). - Fixed tuning to a live channel after a recording has been stopped using the 'Back' key. - Resetting a timer's 'pending' flag when it has ended.
Diffstat (limited to 'libsi')
-rw-r--r--libsi/si.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/libsi/si.c b/libsi/si.c
index 43ef038..49464ba 100644
--- a/libsi/si.c
+++ b/libsi/si.c
@@ -6,7 +6,7 @@
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
- * $Id: si.c 1.24 2008/03/01 12:02:01 kls Exp $
+ * $Id: si.c 1.25 2008/03/05 17:00:55 kls Exp $
* *
***************************************************************************/
@@ -14,6 +14,7 @@
#include <errno.h>
#include <iconv.h>
#include <malloc.h>
+#include <stdlib.h> // for broadcaster stupidity workaround
#include <string.h>
#include "descriptor.h"
@@ -340,9 +341,12 @@ bool SetSystemCharacterTable(const char *CharacterTable) {
// and length are adjusted accordingly.
static const char *getCharacterTable(const unsigned char *&buffer, int &length, bool *isSingleByte = NULL) {
const char *cs = "ISO6937";
- cs = "ISO-8859-9"; // Workaround for broadcaster stupidity: according to
+ // Workaround for broadcaster stupidity: according to
// "ETSI EN 300 468" the default character set is ISO6937. But unfortunately some
// broadcasters actually use ISO-8859-9, but fail to correctly announce that.
+ static const char *CharsetOverride = getenv("VDR_CHARSET_OVERRIDE");
+ if (CharsetOverride)
+ cs = CharsetOverride;
if (isSingleByte)
*isSingleByte = false;
if (length <= 0)