mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
zapit/src/scansdt.cpp: for SDT updates, allow only tv and radio channels
This commit is contained in:
@@ -364,10 +364,11 @@ void CSdt::FixWhiteSpaces(std::string &str)
|
|||||||
/* check if service type wanted in current scan type */
|
/* check if service type wanted in current scan type */
|
||||||
bool CSdt::CheckScanType(uint8_t service_type)
|
bool CSdt::CheckScanType(uint8_t service_type)
|
||||||
{
|
{
|
||||||
|
int flags;
|
||||||
if(current)
|
if(current)
|
||||||
return true;
|
flags = CServiceScan::SCAN_TVRADIO;
|
||||||
|
else
|
||||||
int flags = CServiceScan::getInstance()->GetFlags();
|
flags = CServiceScan::getInstance()->GetFlags();
|
||||||
|
|
||||||
if ((flags & CServiceScan::SCAN_ALL) == CServiceScan::SCAN_ALL)
|
if ((flags & CServiceScan::SCAN_ALL) == CServiceScan::SCAN_ALL)
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user