From e9367b3f702bf04bea0585e2b27962d63aebda1d Mon Sep 17 00:00:00 2001 From: Udo Richter Date: Sun, 11 Mar 2012 14:19:06 +0200 Subject: Avoid FF card transfer mode on channel switch with VDR >= 1.7.25 (Closes: #9). --- txtrecv.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/txtrecv.c b/txtrecv.c index 15bd88f..2321697 100644 --- a/txtrecv.c +++ b/txtrecv.c @@ -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; -- cgit v1.2.3