aboutsummaryrefslogtreecommitdiff
path: root/lib/components/scan.cpp
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2005-11-18 03:35:17 +0000
committerFelix Domke <tmbinc@elitedvb.net>2005-11-18 03:35:17 +0000
commit5cdabb1038ec3f628001f26f5d587eb95ca6465d (patch)
treec8b20083f641110d08ebff7bdc4c2ebd096a76d3 /lib/components/scan.cpp
parent22dd42bd9ac717c439bd339f0c85adbf3defe2b6 (diff)
downloadenigma2-5cdabb1038ec3f628001f26f5d587eb95ca6465d.tar.gz
enigma2-5cdabb1038ec3f628001f26f5d587eb95ca6465d.zip
scan: add allocateFrontendByIndex, so ServiceScan uses a fixed frontend ID - currently hardcoded 0 in python.
Diffstat (limited to 'lib/components/scan.cpp')
-rw-r--r--lib/components/scan.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/components/scan.cpp b/lib/components/scan.cpp
index 2f3c4d62..bfbb02da 100644
--- a/lib/components/scan.cpp
+++ b/lib/components/scan.cpp
@@ -78,7 +78,7 @@ void eComponentScan::addInitial(const eDVBFrontendParametersTerrestrial &p)
}
-int eComponentScan::start(int flags)
+int eComponentScan::start(int feid, int flags)
{
if (m_initial.empty())
return -2;
@@ -93,9 +93,9 @@ int eComponentScan::start(int flags)
eUsePtr<iDVBChannel> channel;
- if (mgr->allocateRawChannel(channel))
+ if (mgr->allocateRawChannel(channel, feid))
{
- eDebug("scan: allocating raw channel failed!");
+ eDebug("scan: allocating raw channel (on frontend %d) failed!", feid);
return -1;
}