aboutsummaryrefslogtreecommitdiff
path: root/lib/components
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
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')
-rw-r--r--lib/components/scan.cpp6
-rw-r--r--lib/components/scan.h2
2 files changed, 4 insertions, 4 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;
}
diff --git a/lib/components/scan.h b/lib/components/scan.h
index 04218b98..eb18f104 100644
--- a/lib/components/scan.h
+++ b/lib/components/scan.h
@@ -42,7 +42,7 @@ public:
/* please keep the flags in sync with lib/dvb/scan.h ! */
enum { scanNetworkSearch=1 };
- int start(int flags=0);
+ int start(int feid, int flags=0);
};
#endif