mpegts service: Add Ignore EPG (EIT) checkbox, fixes #2410

This commit is contained in:
Jaroslav Kysela 2014-10-27 14:21:47 +01:00
parent 32b51737ba
commit 466d27b7fe
3 changed files with 11 additions and 0 deletions

View file

@ -633,6 +633,9 @@ _eit_callback
if (!LIST_FIRST(&svc->s_channels))
goto done;
if (svc->s_dvb_ignore_eit)
goto done;
/* Process events */
save = resched = 0;
len -= 11;

View file

@ -432,6 +432,7 @@ struct mpegts_service
char *s_dvb_provider;
char *s_dvb_cridauth;
uint16_t s_dvb_servicetype;
int s_dvb_ignore_eit;
char *s_dvb_charset;
uint16_t s_dvb_prefcapid;
int s_dvb_prefcapid_lock;

View file

@ -145,6 +145,13 @@ const idclass_t mpegts_service_class =
.opts = PO_RDONLY | PO_HIDDEN,
.off = offsetof(mpegts_service_t, s_dvb_servicetype),
},
{
.type = PT_BOOL,
.id = "dvb_ignore_eit",
.name = "Ignore EPG (EIT)",
.off = offsetof(mpegts_service_t, s_dvb_ignore_eit),
.opts = PO_ADVANCED,
},
{
.type = PT_STR,
.id = "charset",