From f4d7d5fa8eba2a250313760e7220a7b20386aba4 Mon Sep 17 00:00:00 2001 From: Adam Sutton Date: Sat, 28 Jun 2014 15:15:09 +0100 Subject: [PATCH] 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. --- src/epggrab/module/eit.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/epggrab/module/eit.c b/src/epggrab/module/eit.c index 2b9ece68..ba91618d 100644 --- a/src/epggrab/module/eit.c +++ b/src/epggrab/module/eit.c @@ -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 )