From 4ce96d5adaac30d1868cd696458919921f11a8b7 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Wed, 6 Nov 2013 15:08:11 +0400 Subject: [PATCH] zapit/src/fastscan.cpp: set current channel to channel number 1 --- src/zapit/src/fastscan.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/zapit/src/fastscan.cpp b/src/zapit/src/fastscan.cpp index 83a8f33a6..311183113 100644 --- a/src/zapit/src/fastscan.cpp +++ b/src/zapit/src/fastscan.cpp @@ -359,6 +359,9 @@ bool CServiceScan::ParseFst(unsigned short pid, fast_scan_operator_t * op) if (!(g_bouquetManager->existsChannelInBouquet(bouquetId, newchannel->getChannelID()))) bouquet->addService(newchannel); + + if (num == 1) + CZapit::getInstance()->SetCurrentChannelID(newchannel->getChannelID()); } break; default: