summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY3
-rw-r--r--osdteletext.c2
-rw-r--r--txtrecv.c2
3 files changed, 6 insertions, 1 deletions
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()) {