aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/scan.cpp
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-10-10 17:29:20 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-10-10 17:29:20 +0000
commit62bbd84a6d1dbe6386fd278b8bdbc81e361e000f (patch)
tree1ba6216c0ea0e684b9164902f006c9e046453307 /lib/dvb/scan.cpp
parentb784d016b66856c4f3aca2cb9a1c5c7f61f18519 (diff)
downloadenigma2-62bbd84a6d1dbe6386fd278b8bdbc81e361e000f.tar.gz
enigma2-62bbd84a6d1dbe6386fd278b8bdbc81e361e000f.zip
add ability to clear transponders to scan when first NIT is received
Diffstat (limited to 'lib/dvb/scan.cpp')
-rw-r--r--lib/dvb/scan.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/dvb/scan.cpp b/lib/dvb/scan.cpp
index 8aa41dfa..00564cdb 100644
--- a/lib/dvb/scan.cpp
+++ b/lib/dvb/scan.cpp
@@ -357,6 +357,11 @@ void eDVBScan::channelDone()
if (m_ready & validNIT)
{
SCAN_eDebug("dumping NIT");
+ if (m_flags & clearToScanOnFirstNIT)
+ {
+ m_ch_toScan.clear();
+ m_flags &= ~clearToScanOnFirstNIT;
+ }
std::vector<NetworkInformationSection*>::const_iterator i;
for (i = m_NIT->getSections().begin(); i != m_NIT->getSections().end(); ++i)
{