Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
psip: listen for channel ETT
  • Loading branch information
laurimyllari authored and perexg committed Oct 22, 2015
1 parent 54565e1 commit 078b0af
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/epggrab/module/psip.c
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 078b0af

Please sign in to comment.