]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
psip: listen for channel ETT
authorLauri Myllari <lauri.myllari@gmail.com>
Fri, 9 Jan 2015 21:28:10 +0000 (13:28 -0800)
committerJaroslav Kysela <perex@perex.cz>
Thu, 22 Oct 2015 15:33:58 +0000 (17:33 +0200)
src/epggrab/module/psip.c

index 65f7cb143bbb1b62d1ce034637d4f02e2e6c980a..7b936bf000fd1cb5710378ff4560eaaa6bfb1ffc 100644 (file)
@@ -213,6 +213,10 @@ _psip_mgt_callback
       /* This is an ETT table */
       tvhdebug("psip", "  ETT-%d", type-0x200);
       mpegts_table_add(mm, 0xcc, 0xff, _psip_ett_callback, map, "ett", MT_QUICKREQ | MT_CRC | MT_RECORD, tablepid);
+    } else if (type == 0x04) {
+      /* This is channel ETT */
+      tvhdebug("psip", "  ETT-channel");
+      mpegts_table_add(mm, 0xcc, 0xff, _psip_ett_callback, map, "ett", MT_QUICKREQ | MT_CRC | MT_RECORD, tablepid);
     } else {
       /* Skip this table */
       goto next;
@@ -243,7 +247,9 @@ static int _psip_start
   pid  = 0x1FFB;
   opts = MT_QUICKREQ | MT_RECORD;
 
+  /* Listen for Master Guide Table */
   mpegts_table_add(dm, 0xC7, 0xFF, _psip_mgt_callback, map, "mgt", MT_CRC | opts, pid);
+
   tvhlog(LOG_DEBUG, m->id, "installed table handlers");
   return 0;
 }