Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
dvb_psi: log VCT descriptors
  • Loading branch information
laurimyllari authored and perexg committed Oct 22, 2015
1 parent 20de715 commit 2f6b4e8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/input/mpegts/dvb_psi.c
Expand Up @@ -1622,7 +1622,7 @@ int
atsc_vct_callback
(mpegts_table_t *mt, const uint8_t *ptr, int len, int tableid)
{
int i, r, sect, last, ver, extraid, save, dlen;
int i, j, r, sect, last, ver, extraid, save, dlen;
int maj, min, count;
uint16_t tsid, sid, type;
uint16_t srcid;
Expand Down Expand Up @@ -1695,6 +1695,14 @@ atsc_vct_callback
s->s_atsc_source_id = srcid;
save = 1;
}

for (j=0; j < dlen; ) {
unsigned int len, tag;
tag = ptr[32+j];
len = ptr[33+j];
tvhdebug("vct", " tag 0x%02x, len %d", tag, len);
j += len + 2;
}

/* Save */
if (save)
Expand Down

0 comments on commit 2f6b4e8

Please sign in to comment.