workaround for T2 resolution display

This commit is contained in:
TangoCash
2017-12-04 09:46:04 +01:00
committed by Thilo Graf
parent 4e65f22bdf
commit 7b47ab46d3

View File

@@ -204,7 +204,10 @@ bool CZapitChannel::isUHD()
{ {
switch(serviceType) { switch(serviceType) {
case 0x1f: case 0x1f:
return true; if (delsys == DVB_T2)
return false;
else
return true;
case ST_DIGITAL_TELEVISION_SERVICE: case ST_DIGITAL_TELEVISION_SERVICE:
case 0x19: case 0x19:
{ {
@@ -226,6 +229,11 @@ bool CZapitChannel::isUHD()
bool CZapitChannel::isHD() bool CZapitChannel::isHD()
{ {
switch(serviceType) { switch(serviceType) {
case 0x1f:
if (delsys == DVB_T2)
return true;
else
return false;
case 0x11: case 0x19: case 0x11: case 0x19:
//printf("[zapit] HD channel: %s type 0x%X\n", name.c_str(), serviceType); //printf("[zapit] HD channel: %s type 0x%X\n", name.c_str(), serviceType);
return true; return true;