diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-05-14 10:04:04 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-05-14 10:04:04 +0200 |
commit | faf7d4b743f63d15c8509db7586e28655a092e64 (patch) | |
tree | 9341561ec9ee8b402df12dc960021ed46e736fc4 /dvbdevice.c | |
parent | d7053e30ac3e971e8b27d2ae16b000e60cf302e3 (diff) | |
download | vdr-faf7d4b743f63d15c8509db7586e28655a092e64.tar.gz vdr-faf7d4b743f63d15c8509db7586e28655a092e64.tar.bz2 |
Added a check for Setup.DiSEqC in cDvbDevice::ProvidesTransponder()
Diffstat (limited to 'dvbdevice.c')
-rw-r--r-- | dvbdevice.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dvbdevice.c b/dvbdevice.c index 9c8a0ac4..bf82dc91 100644 --- a/dvbdevice.c +++ b/dvbdevice.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbdevice.c 1.127 2005/03/20 10:10:38 kls Exp $ + * $Id: dvbdevice.c 1.128 2005/05/14 09:59:17 kls Exp $ */ #include "dvbdevice.h" @@ -741,7 +741,7 @@ bool cDvbDevice::ProvidesSource(int Source) const bool cDvbDevice::ProvidesTransponder(const cChannel *Channel) const { - return ProvidesSource(Channel->Source()) && ((Channel->Source() & cSource::st_Mask) != cSource::stSat || Diseqcs.Get(Channel->Source(), Channel->Frequency(), Channel->Polarization())); + return ProvidesSource(Channel->Source()) && ((Channel->Source() & cSource::st_Mask) != cSource::stSat || !Setup.DiSEqC || Diseqcs.Get(Channel->Source(), Channel->Frequency(), Channel->Polarization())); } bool cDvbDevice::ProvidesChannel(const cChannel *Channel, int Priority, bool *NeedsDetachReceivers) const |