X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/b0e09a2cd9a05a002222d79fb71848f4c7820ff3..fc61bfd83af4aa0174f1edd64912049017996f56:/lib/components/scan.cpp diff --git a/lib/components/scan.cpp b/lib/components/scan.cpp index 6676af51..bfbb02da 100644 --- a/lib/components/scan.cpp +++ b/lib/components/scan.cpp @@ -28,6 +28,7 @@ void eComponentScan::scanEvent(int evt) } else { m_scan->insertInto(db); + db->flush(); eDebug("scan done!"); } } @@ -77,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; @@ -92,9 +93,9 @@ int eComponentScan::start(int flags) eUsePtr 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; }