diff options
author | Udo Richter <udo_richter@gmx.de> | 2012-03-11 14:19:06 +0200 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2012-03-11 14:19:06 +0200 |
commit | e9367b3f702bf04bea0585e2b27962d63aebda1d (patch) | |
tree | 8e3ea1354ac8f9ad3542c4067c74f9bafebaa0c1 | |
parent | 03b8cab390b814213b5c00a7e2b724733661ec1e (diff) | |
download | vdr-plugin-osdteletext-e9367b3f702bf04bea0585e2b27962d63aebda1d.tar.gz vdr-plugin-osdteletext-e9367b3f702bf04bea0585e2b27962d63aebda1d.tar.bz2 |
Avoid FF card transfer mode on channel switch with VDR >= 1.7.25 (Closes: #9).
-rw-r--r-- | txtrecv.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -485,6 +485,13 @@ cTxtStatus::~cTxtStatus() void cTxtStatus::ChannelSwitch(const cDevice *Device, int ChannelNumber) { +#if VDRVERSNUM >= 10725 + // Disconnect receiver if channel is 0, will reconnect to new + // receiver after channel change. + if (ChannelNumber == 0 && Device->IsPrimaryDevice()) + DELETENULL(receiver); +#endif + // ignore if channel is 0 if (ChannelNumber == 0) return; |