From a8b3516607d2e99381add560089bce3adee9f462 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Mon, 16 May 2005 15:23:43 +0200 Subject: Using cSource::IsSat() --- dvbdevice.c | 4 ++-- 1 file 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 -- cgit v1.2.3