changeset 28313:e7be428f2772

in parse_pat() IDENTIFY program number and pmt_pid
author nicodvb
date Thu, 22 Jan 2009 21:50:13 +0000
parents 71e985becf45
children 3e4486488465
files libmpdemux/demux_ts.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_ts.c	Tue Jan 20 23:23:53 2009 +0000
+++ b/libmpdemux/demux_ts.c	Thu Jan 22 21:50:13 2009 +0000
@@ -1762,6 +1762,7 @@
 		priv->pat.progs[idx].id = progid;
 		priv->pat.progs[idx].pmt_pid = ((base[2]  & 0x1F) << 8) | base[3];
 		mp_msg(MSGT_DEMUX, MSGL_V, "PROG: %d (%d-th of %d), PMT: %d\n", priv->pat.progs[idx].id, i+1, entries, priv->pat.progs[idx].pmt_pid);
+		mp_msg(MSGT_IDENTIFY, MSGL_V, "PROGRAM_ID=%d (0x%02X), PMT_PID: %d(0x%02X)\n", progid, priv->pat.progs[idx].pmt_pid );
 	}
 
 	return 1;