]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Fix for DVB Grabber and IPTV Stream
authorbarzog <barzog@telecom.by>
Mon, 13 Feb 2023 08:27:48 +0000 (11:27 +0300)
committerFlole998 <Flole998@users.noreply.github.com>
Fri, 24 Feb 2023 11:22:55 +0000 (12:22 +0100)
src/epggrab/otamux.c

index 182aac389502e755b4cd46dbdb607e065a0069cd..4888158bab7e087aef7e8f1624934fe48b62ae37 100644 (file)
@@ -353,6 +353,10 @@ epggrab_mux_start ( mpegts_mux_t *mm, void *p )
   epggrab_module_t  *m;
   epggrab_ota_mux_t *ota;
 
+  int epg_flag = mm->mm_is_epg(mm);
+  if (epg_flag < 0 || epg_flag == MM_EPG_DISABLE)
+    return;
+
   /* Already started */
   TAILQ_FOREACH(ota, &epggrab_ota_active, om_q_link)
     if (!uuid_cmp(&ota->om_mux_uuid, &mm->mm_id.in_uuid))