mirror of
https://github.com/mpv-player/mpv
synced 2025-01-14 11:01:35 +00:00
in parse_pat() IDENTIFY program number and pmt_pid
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28348 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
7c0e42be2b
commit
39b7c1576d
@ -1762,6 +1762,7 @@ static int parse_pat(ts_priv_t * priv, int is_start, unsigned char *buff, int si
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user