From 3f66fa4d17ba703871da304d005a1945ba7ed97d Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Sat, 19 Jul 2008 17:38:04 +0000 Subject: [PATCH] hopefully fix servicescan hack for different tsid in PAT and SDT (kabelbw hack) --- lib/dvb/scan.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/dvb/scan.cpp b/lib/dvb/scan.cpp index 25be7005..109d2395 100644 --- a/lib/dvb/scan.cpp +++ b/lib/dvb/scan.cpp @@ -153,7 +153,7 @@ RESULT eDVBScan::startFilter() assert(i != m_PAT->getSections().end()); tsid = (*i)->getTableIdExtension(); // in PAT this is the transport stream id - // KabelBW HACK ... on 618 Mhz the transport stream id in PAT and SDT is different + // KabelBW HACK ... on 618Mhz and 626Mhz the transport stream id in PAT and SDT is different { int type; m_ch_current->getSystem(type); @@ -161,7 +161,8 @@ RESULT eDVBScan::startFilter() { eDVBFrontendParametersCable parm; m_ch_current->getDVBC(parm); - if (tsid == 0x00d7 & abs(parm.frequency-618000) < 2000) + if ((tsid == 0x00d7 && abs(parm.frequency-618000) < 2000) || + (tsid == 0x00d8 && abs(parm.frequency-626000) < 2000)) tsid = -1; } } -- 2.30.2