summaryrefslogtreecommitdiff
path: root/txtrecv.c
diff options
context:
space:
mode:
authorTobias Grimm <tobias@e-tobi.loc>2009-01-10 23:23:48 +0100
committerTobias Grimm <tobias@e-tobi.loc>2009-01-10 23:25:23 +0100
commit1c9cc771d36bf41991f253b03eb8879d90e258da (patch)
tree4ed40c0bbd4896996fe1b528e8153e51aa795aa6 /txtrecv.c
parent32263aa1ede9764e3e2e5423ab283889c49f9710 (diff)
downloadvdr-plugin-osdteletext-release/v0.8.1.tar.gz
vdr-plugin-osdteletext-release/v0.8.1.tar.bz2
Small bugfix in channel switching code and new minor releasev0.8.1release/v0.8.1
Diffstat (limited to 'txtrecv.c')
-rw-r--r--txtrecv.c2
1 files changed, 2 insertions, 0 deletions
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()) {