zapit/src/scan.cpp: fix lcn bug

Origin commit data
------------------
Commit: 36bd265ab5
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-07-04 (Wed, 04 Jul 2012)
This commit is contained in:
[CST] Focus
2012-07-04 17:02:14 +04:00
parent 9e731dfdc7
commit b8176383c3

View File

@@ -324,8 +324,8 @@ _repeat:
if (flags & (SCAN_NIT/*|SCAN_LOGICAL_NUMBERS*/) && !nit_logical_map.empty()) { if (flags & (SCAN_NIT/*|SCAN_LOGICAL_NUMBERS*/) && !nit_logical_map.empty()) {
std::string pname = networkName; std::string pname = networkName;
INFO("network [%s] %d logical channels (%d hd)\n", pname.c_str(), nit_logical_map.size(), nit_hd_logical_map.size()); INFO("network [%s] %d logical channels (%d hd)\n", pname.c_str(), nit_logical_map.size(), nit_hd_logical_map.size());
CServiceManager::getInstance()->ResetChannelNumbers(true, true);
g_bouquetManager->loadBouquets(true); g_bouquetManager->loadBouquets(true);
CServiceManager::getInstance()->ResetChannelNumbers(true, true);
CZapitBouquet* bouquet; CZapitBouquet* bouquet;
int bouquetId = g_bouquetManager->existsUBouquet(pname.c_str()); int bouquetId = g_bouquetManager->existsUBouquet(pname.c_str());
if (bouquetId == -1) if (bouquetId == -1)