summaryrefslogtreecommitdiff
path: root/dvbdevice.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-01-06 14:52:54 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2009-01-06 14:52:54 +0100
commitd1ea5ca06d13df24e5b0d7bf8c361425a2174832 (patch)
treefc0951804b769c549c8077832b7dd648aafd13e9 /dvbdevice.c
parentf9a2758205490097ba88ec1bccc87a907915da94 (diff)
downloadvdr-d1ea5ca06d13df24e5b0d7bf8c361425a2174832.tar.gz
vdr-d1ea5ca06d13df24e5b0d7bf8c361425a2174832.tar.bz2
cDvbDevice now uses the FE_CAN_2G_MODULATION flag1.7.3
Diffstat (limited to 'dvbdevice.c')
-rw-r--r--dvbdevice.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dvbdevice.c b/dvbdevice.c
index 8c632c3d..6aa0056f 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.9 2009/01/05 16:08:18 kls Exp $
+ * $Id: dvbdevice.c 2.10 2009/01/06 14:52:54 kls Exp $
*/
#include "dvbdevice.h"
@@ -491,7 +491,7 @@ cDvbDevice::cDvbDevice(int n)
if (fd_frontend >= 0) {
if (ioctl(fd_frontend, FE_GET_INFO, &frontendInfo) >= 0) {
switch (frontendInfo.type) {
- case FE_QPSK: frontendType = (frontendInfo.caps & FE_CAN_2ND_GEN_MODULATION) ? SYS_DVBS2 : SYS_DVBS; break;
+ case FE_QPSK: frontendType = (frontendInfo.caps & FE_CAN_2G_MODULATION) ? SYS_DVBS2 : SYS_DVBS; break;
case FE_OFDM: frontendType = SYS_DVBT; break;
case FE_QAM: frontendType = SYS_DVBC_ANNEX_AC; break;
case FE_ATSC: frontendType = SYS_ATSC; break;