From 538a4f767466c0915a09fa4e3af8bc25fa105db5 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 26 Jan 2014 12:45:46 +0100 Subject: Now checking whether the primary device actually has a decoder before retuning the current channel after a change in its parameters --- vdr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vdr.c') diff --git a/vdr.c b/vdr.c index e1857ead..ffd0e010 100644 --- a/vdr.c +++ b/vdr.c @@ -22,7 +22,7 @@ * * The project's page is at http://www.tvdr.de * - * $Id: vdr.c 2.57.1.4 2013/12/25 11:40:37 kls Exp $ + * $Id: vdr.c 2.57.1.5 2014/01/26 12:45:00 kls Exp $ */ #include @@ -909,7 +909,7 @@ int main(int argc, char *argv[]) for (cChannel *Channel = Channels.First(); Channel; Channel = Channels.Next(Channel)) { if (Channel->Modification(CHANNELMOD_RETUNE)) { cRecordControls::ChannelDataModified(Channel); - if (Channel->Number() == cDevice::CurrentChannel()) { + if (Channel->Number() == cDevice::CurrentChannel() && cDevice::PrimaryDevice()->HasDecoder()) { if (!cDevice::PrimaryDevice()->Replaying() || cDevice::PrimaryDevice()->Transferring()) { if (cDevice::ActualDevice()->ProvidesTransponder(Channel)) { // avoids retune on devices that don't really access the transponder isyslog("retuning due to modification of channel %d", Channel->Number()); -- cgit v1.2.3