Project

General

Profile

Bug #5629 » gitdiff_otamux.txt

Antony B, 2019-12-30 02:56

 
1
diff --git a/src/epggrab/otamux.c b/src/epggrab/otamux.c
2
index 495354390..9fe28e275 100644
3
--- a/src/epggrab/otamux.c
4
+++ b/src/epggrab/otamux.c
5
@@ -353,6 +353,10 @@ epggrab_mux_start ( mpegts_mux_t *mm, void *p )
6
   epggrab_module_t  *m;
7
   epggrab_ota_mux_t *ota;
8
 
9
+  int epg_flag = mm->mm_is_epg(mm);
10
+  if (epg_flag < 0 || epg_flag == MM_EPG_DISABLE)
11
+	return;
12
+
13
   /* Already started */
14
   TAILQ_FOREACH(ota, &epggrab_ota_active, om_q_link)
15
     if (!uuid_cmp(&ota->om_mux_uuid, &mm->mm_id.in_uuid))
(3-3/3)