mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
modify uhd channel detection to catch channels broadcasting not in DVB specs
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -199,9 +199,25 @@ unsigned char CZapitChannel::getServiceType(bool real)
|
|||||||
|
|
||||||
bool CZapitChannel::isUHD()
|
bool CZapitChannel::isUHD()
|
||||||
{
|
{
|
||||||
if (serviceType == 0x1f)
|
switch(serviceType) {
|
||||||
return true;
|
case 0x1f:
|
||||||
return false;
|
return true;
|
||||||
|
case ST_DIGITAL_TELEVISION_SERVICE:
|
||||||
|
case 0x19:
|
||||||
|
{
|
||||||
|
std::string uhd = "UHD";
|
||||||
|
if(strstr(name.c_str(),uhd.c_str()))
|
||||||
|
return true;
|
||||||
|
uhd = "4K";
|
||||||
|
if(strstr(name.c_str(),uhd.c_str()))
|
||||||
|
return true;
|
||||||
|
uhd = "4k";
|
||||||
|
if(strstr(name.c_str(),uhd.c_str()))
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
default:
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CZapitChannel::isHD()
|
bool CZapitChannel::isHD()
|
||||||
|
Reference in New Issue
Block a user