From 1c9cc771d36bf41991f253b03eb8879d90e258da Mon Sep 17 00:00:00 2001 From: Tobias Grimm Date: Sat, 10 Jan 2009 23:23:48 +0100 Subject: Small bugfix in channel switching code and new minor release --- HISTORY | 3 +++ osdteletext.c | 2 +- txtrecv.c | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/HISTORY b/HISTORY index 6adc754..8af056f 100644 --- a/HISTORY +++ b/HISTORY @@ -1,6 +1,9 @@ VDR Plugin 'osdteletext' Revision History ----------------------------------------- +2009-01-10: version 0.8.1 +- Small bugfix in channel switching code + 2009-01-10: version 0.8.0 - Added Portuguese translation provided by Chris Silva - Updated Italian translation by Davide Cavalca diff --git a/osdteletext.c b/osdteletext.c index 9a40d21..b0b0451 100644 --- a/osdteletext.c +++ b/osdteletext.c @@ -25,7 +25,7 @@ using namespace std; #error "VDR-1.6.0 API version or greater is required!" #endif -static const char *VERSION = "0.8.0"; +static const char *VERSION = "0.8.1"; static const char *DESCRIPTION = trNOOP("Displays teletext on the OSD"); static const char *MAINMENUENTRY = trNOOP("Teletext"); diff --git a/txtrecv.c b/txtrecv.c index 403f05b..c8113aa 100644 --- a/txtrecv.c +++ b/txtrecv.c @@ -537,6 +537,8 @@ void cTxtStatus::ChannelSwitch(const cDevice *Device, int ChannelNumber) // channel was changed to a new channel and OSDTeletext can // now re-attach the receiver to the new live channel + currentLiveChannel = newLiveChannel->GetChannelID(); + CheckDeleteReceiver(); if (newLiveChannel->Tpid()) { -- cgit v1.2.3