bouquets: reduce BSkyB region to one (CPU usage)

This commit is contained in:
Jaroslav Kysela 2014-11-05 12:01:38 +01:00
parent 95fb7aa627
commit d08ec05ae7

View file

@ -632,6 +632,16 @@ dvb_bskyb_local_channels
return;
regionid = ptr[1];
if (regionid != 0xff && regionid != 0 && regionid != 1) {
if ((str = getenv("TVHEADEND_BSKYB_REGIONID")) != NULL) {
if (regionid != atoi(str))
return;
} else {
return;
}
}
len -= 2;
ptr += 2;