summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-02-15 14:31:53 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-02-15 14:31:53 +0100
commit0a3f7e7ca23078eab860032350d61ceb2a8ab50c (patch)
treec8f98b6050c9b2f9f7d90c2d9e281b8805295ea0 /vdr.c
parent955d5eb012227fa6fa70f784d967e831a55e5c1b (diff)
downloadvdr-0a3f7e7ca23078eab860032350d61ceb2a8ab50c.tar.gz
vdr-0a3f7e7ca23078eab860032350d61ceb2a8ab50c.tar.bz2
Limited automatic retuning to devices that actually provide the transponder
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/vdr.c b/vdr.c
index 20315507..4782df9b 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/vdr
*
- * $Id: vdr.c 1.176 2004/02/13 13:13:13 kls Exp $
+ * $Id: vdr.c 1.177 2004/02/15 14:29:30 kls Exp $
*/
#include <getopt.h>
@@ -526,8 +526,10 @@ int main(int argc, char *argv[])
cRecordControls::ChannelDataModified(Channel);
if (Channel->Number() == cDevice::CurrentChannel()) {
if (!cDevice::PrimaryDevice()->Replaying() || cTransferControl::ReceiverDevice()) {
- isyslog("retuning due to modification of channel %d", Channel->Number());
- Channels.SwitchTo(Channel->Number());
+ 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());
+ Channels.SwitchTo(Channel->Number());
+ }
}
}
}