From 418b2b1898b17f8f3d35efa1a192a90598b577bb Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Sun, 25 Mar 2012 16:37:08 +0400 Subject: [PATCH] zapit/src/scansdt.cpp: get fta flag from CServiceScan --- src/zapit/src/scansdt.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/zapit/src/scansdt.cpp b/src/zapit/src/scansdt.cpp index 535456b3f..0af441444 100644 --- a/src/zapit/src/scansdt.cpp +++ b/src/zapit/src/scansdt.cpp @@ -39,7 +39,6 @@ #include extern CZapitClient::scanType scanType; // FIXME -int scan_fta_flag; // FIXME #define DEBUG_SDT //#define DEBUG_SDT_UNUSED @@ -245,7 +244,7 @@ bool CSdt::ParseServiceDescriptor(ServiceDescription * service, ServiceDescripto printf("SDT: sid %04x type %x provider [%s] service [%s] scrambled %d\n", service_id, sd->getServiceType(), providerName.c_str(), serviceName.c_str(), free_ca); #endif - if(!current && free_ca && scan_fta_flag) + if(!current && free_ca && CServiceScan::getInstance()->isFtaOnly()) return false; if (!CheckScanType(service_type))