aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/scan.cpp
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-07-19 17:38:04 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-07-19 17:38:04 +0000
commit3f66fa4d17ba703871da304d005a1945ba7ed97d (patch)
treef9788067d77954cabc09b5c97fdc52e39368a0f3 /lib/dvb/scan.cpp
parent0855ea4ed4197c0fc6a8f8fff5820741d80c6d41 (diff)
downloadenigma2-3f66fa4d17ba703871da304d005a1945ba7ed97d.tar.gz
enigma2-3f66fa4d17ba703871da304d005a1945ba7ed97d.zip
hopefully fix servicescan hack for different tsid in PAT and SDT (kabelbw
hack)
Diffstat (limited to 'lib/dvb/scan.cpp')
-rw-r--r--lib/dvb/scan.cpp5
1 files 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;
}
}