diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2010-04-10 12:17:34 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2010-04-10 12:17:34 +0200 |
commit | 123bd2fec09d27f90e9bc67c9c41653e2fe664d2 (patch) | |
tree | e568046be6465434a1d0cff5f5a7e5da17f9204c /dvbdevice.c | |
parent | f1ded40a5524518ee1536fbca39db1d95dea526c (diff) | |
download | vdr-123bd2fec09d27f90e9bc67c9c41653e2fe664d2.tar.gz vdr-123bd2fec09d27f90e9bc67c9c41653e2fe664d2.tar.bz2 |
Added check for FE_CAN_PSK_8
Diffstat (limited to 'dvbdevice.c')
-rw-r--r-- | dvbdevice.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/dvbdevice.c b/dvbdevice.c index e874a482..6f9e501f 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 2.34 2010/04/05 20:13:05 kls Exp $ + * $Id: dvbdevice.c 2.35 2010/04/10 10:36:27 kls Exp $ */ #include "dvbdevice.h" @@ -21,6 +21,8 @@ #include "menuitems.h" #include "sourceparams.h" +#define FE_CAN_PSK_8 0x8000000 // TODO: remove this once it is defined in the driver + #define DVBS_TUNE_TIMEOUT 9000 //ms #define DVBS_LOCK_TIMEOUT 2000 //ms #define DVBC_TUNE_TIMEOUT 9000 //ms @@ -896,7 +898,8 @@ bool cDvbDevice::ProvidesTransponder(const cChannel *Channel) const dtp.Modulation() == QAM_256 && !(frontendInfo.caps & FE_CAN_QAM_256) || dtp.Modulation() == QAM_AUTO && !(frontendInfo.caps & FE_CAN_QAM_AUTO) || dtp.Modulation() == VSB_8 && !(frontendInfo.caps & FE_CAN_8VSB) || - dtp.Modulation() == VSB_16 && !(frontendInfo.caps & FE_CAN_16VSB)) + dtp.Modulation() == VSB_16 && !(frontendInfo.caps & FE_CAN_16VSB) || + dtp.Modulation() == PSK_8 && !(frontendInfo.caps & FE_CAN_PSK_8)) return false; // requires modulation system which frontend doesn't provide if (!cSource::IsSat(Channel->Source()) || !Setup.DiSEqC || Diseqcs.Get(CardIndex() + 1, Channel->Source(), Channel->Frequency(), dtp.Polarization())) |