Only do commercial detection (teletext rundown) on swedish TV4 and TV4 HD. TV4 Guld carry the same teletext pages but thier programming differ.
This commit is contained in:
parent
d9b2a2cdbd
commit
bc9305ec13
1 changed files with 5 additions and 0 deletions
|
@ -540,6 +540,11 @@ teletext_rundown_scan(service_t *t, tt_private_t *ttp)
|
|||
if(ttp->ttp_rundown_valid == 0)
|
||||
return;
|
||||
|
||||
if(t->s_svcname &&
|
||||
strcmp("TV4", t->s_svcname) &&
|
||||
strcmp("TV4 HD", t->s_svcname))
|
||||
return;
|
||||
|
||||
for(i = 0; i < 23; i++) {
|
||||
l = ttp->ttp_rundown + 40 * i;
|
||||
if((l[1] & 0xf0) != 0x00 || !is_tt_clock(l + 32) || !is_tt_clock(l + 2))
|
||||
|
|
Loading…
Add table
Reference in a new issue