Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
bouquets: reduce BSkyB region to one (CPU usage)
  • Loading branch information
perexg committed Nov 8, 2014
1 parent 95fb7aa commit d08ec05
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/input/mpegts/dvb_psi.c
Expand Up @@ -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;

Expand Down

0 comments on commit d08ec05

Please sign in to comment.