]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
mpegts service: Add Ignore EPG (EIT) checkbox, fixes #2410
authorJaroslav Kysela <perex@perex.cz>
Mon, 27 Oct 2014 13:21:47 +0000 (14:21 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 27 Oct 2014 13:21:47 +0000 (14:21 +0100)
src/epggrab/module/eit.c
src/input/mpegts.h
src/input/mpegts/mpegts_service.c

index d21f5b27a05bcd84f1cf0dacdb667707fb552164..313e83649a6c8601222d97725ba68ff356976a8f 100644 (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;
index 78f4bb7759a128b4932eeaa6edc106eaf0a30984..55f544d7f4f0578238622649225991bec5dc687e 100644 (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;
index 321268dad571f2635737f6271621f8c10cccc114..ac24ad355e421214580b74d25acaa90b39b57e3a 100644 (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",