From 078b0afcd67cbf985d787df15a446b4540ace059 Mon Sep 17 00:00:00 2001 From: Lauri Myllari Date: Fri, 9 Jan 2015 13:28:10 -0800 Subject: [PATCH] psip: listen for channel ETT --- src/epggrab/module/psip.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/epggrab/module/psip.c b/src/epggrab/module/psip.c index 65f7cb143..7b936bf00 100644 --- a/src/epggrab/module/psip.c +++ b/src/epggrab/module/psip.c @@ -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; } -- 2.47.3