epggrab eit: ensure that the grabber always runs
The logic applied breaks several of the grabbers, the idea is a good one but the implementation is wrong. It's an area that clearly needs thought, but care must be taken to realise that there are lots of variations in how data is provided. The additionm of the user configurable flag on a mux is a good one, that at least gives the user the option to disable muxes.
This commit is contained in:
parent
680b5fb202
commit
f4d7d5fa8e
1 changed files with 1 additions and 9 deletions
|
@ -679,15 +679,7 @@ static void _eit_start
|
|||
static int _eit_tune
|
||||
( epggrab_module_ota_t *m, mpegts_mux_t *mm )
|
||||
{
|
||||
mpegts_service_t *s;
|
||||
|
||||
lock_assert(&global_lock);
|
||||
|
||||
LIST_FOREACH(s, &mm->mm_services, s_dvb_mux_link)
|
||||
if (LIST_FIRST(&s->s_channels))
|
||||
break;
|
||||
|
||||
return s ? 1 : 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
void eit_init ( void )
|
||||
|
|
Loading…
Add table
Reference in a new issue