diff options
author | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2008-03-16 18:00:00 +0100 |
---|---|---|
committer | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2008-03-16 18:00:00 +0100 |
commit | 7ba8708b5b38ea311a3a1247f7d74032a0530b82 (patch) | |
tree | 630ed7928c75094723aab263e31ce77ce97cf48c /device.c | |
parent | 0872cba0a10c1350e6f694ea2296947428a97326 (diff) | |
download | vdr-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 'device.c')
-rw-r--r-- | device.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: device.c 1.155 2008/02/23 13:09:01 kls Exp $ + * $Id: device.c 1.157 2008/03/09 10:03:34 kls Exp $ */ #include "device.h" @@ -1096,8 +1096,8 @@ void cDevice::EnsureAudioTrack(bool Force) void cDevice::EnsureSubtitleTrack(void) { if (Setup.DisplaySubtitles) { - eTrackType PreferredTrack = ttSubtitleFirst; - int LanguagePreference = -1; + eTrackType PreferredTrack = ttNone; + int LanguagePreference = INT_MAX; // higher than the maximum possible value for (int i = ttSubtitleFirst; i <= ttSubtitleLast; i++) { const tTrackId *TrackId = GetTrack(eTrackType(i)); if (TrackId && TrackId->id && I18nIsPreferredLanguage(Setup.SubtitleLanguages, TrackId->language, LanguagePreference)) @@ -1416,7 +1416,7 @@ bool cDevice::Receiving(bool CheckAny) const #define TS_SCRAMBLING_CONTROL 0xC0 #define TS_SCRAMBLING_TIMEOUT 3 // seconds to wait until a TS becomes unscrambled -#define TS_SCRAMBLING_TIME_OK 10 // seconds before a Channel/CAM combination is marked a known to decrypt +#define TS_SCRAMBLING_TIME_OK 10 // seconds before a Channel/CAM combination is marked as known to decrypt void cDevice::Action(void) { |