From 8d4a6b70631b6c896f934f7c72ca484752ec4f16 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Tue, 29 May 2012 11:04:13 +0400 Subject: [PATCH] zapit/src/bouquets.cpp: ignore freq part of channel id for user bouquets only Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/0fe09234576bcd9ca6847962e610d781480ca0ba Author: [CST] Focus Date: 2012-05-29 (Tue, 29 May 2012) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/zapit/src/bouquets.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/zapit/src/bouquets.cpp b/src/zapit/src/bouquets.cpp index 3cf214bb3..b7b4d7727 100644 --- a/src/zapit/src/bouquets.cpp +++ b/src/zapit/src/bouquets.cpp @@ -361,7 +361,11 @@ void CBouquetManager::parseBouquetsXml(const char *fname, bool bUser) if(freq > 20000) freq = freq/1000; - CZapitChannel* chan = CServiceManager::getInstance()->FindChannel48(CREATE_CHANNEL_ID64); + CZapitChannel* chan; + if(bUser) + chan = CServiceManager::getInstance()->FindChannel48(CREATE_CHANNEL_ID64); + else + chan = CServiceManager::getInstance()->FindChannel(CREATE_CHANNEL_ID64); if (chan != NULL) { DBG("%04x %04x %04x %s\n", transport_stream_id, original_network_id, service_id, xmlGetAttribute(channel_node, "n")); #if 0