disable dvb-c for old api
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Tue, 22 Nov 2005 10:41:31 +0000 (10:41 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Tue, 22 Nov 2005 10:41:31 +0000 (10:41 +0000)
lib/dvb/frontend.cpp

index dcd1c04..c1dce2d 100644 (file)
@@ -645,6 +645,7 @@ RESULT eDVBFrontend::tune(const iDVBFrontendParameters &where)
        }
        case feCable:
        {
+#if HAVE_DVB_API_VERSION >= 3
                eDVBFrontendParametersCable feparm;
                if (where.getDVBC(feparm))
                        return -EINVAL;
@@ -752,7 +753,9 @@ RESULT eDVBFrontend::tune(const iDVBFrontendParameters &where)
 #else
                parm.u.qam.fec_inner = fec_inner;
 #endif
-
+#else
+               eFatal("Old API not fully supported");
+#endif // old api
                break;
        }
        case feTerrestrial: