diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-05-16 15:23:43 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-05-16 15:23:43 +0200 |
commit | a8b3516607d2e99381add560089bce3adee9f462 (patch) | |
tree | 38722be9a1eea64b937ce92b4a19490d3c4d6df9 /dvbdevice.c | |
parent | ed52b359bba3399e6de59c8da2d653cfa76ef00f (diff) | |
download | vdr-a8b3516607d2e99381add560089bce3adee9f462.tar.gz vdr-a8b3516607d2e99381add560089bce3adee9f462.tar.bz2 |
Using cSource::IsSat()
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 bf82dc91..3a3b19bd 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.128 2005/05/14 09:59:17 kls Exp $ + * $Id: dvbdevice.c 1.129 2005/05/16 15:23:43 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 || !Setup.DiSEqC || Diseqcs.Get(Channel->Source(), Channel->Frequency(), Channel->Polarization())); + return ProvidesSource(Channel->Source()) && (!cSource::IsSat(Channel->Source()) || !Setup.DiSEqC || Diseqcs.Get(Channel->Source(), Channel->Frequency(), Channel->Polarization())); } bool cDvbDevice::ProvidesChannel(const cChannel *Channel, int Priority, bool *NeedsDetachReceivers) const |