pkt_trace_(const char *file, int line, int subsys, th_pkt_t *pkt,
const char *fmt, ...)
{
- char buf[512], _dts[22], _pts[22], _type[2];
+ char buf[512], _pcr[22], _dts[22], _pts[22], _type[2];
va_list args;
va_start(args, fmt);
}
snprintf(buf, sizeof(buf),
"%s%spkt stream %d %s%s%s"
- " dts %s pts %s"
+ " pcr %s dts %s pts %s"
" dur %d len %zu err %i%s",
fmt ? fmt : "",
fmt ? " (" : "",
pkt->pkt_componentindex,
streaming_component_type2txt(pkt->pkt_type),
_type[0] ? " type " : "", _type,
+ pts_to_string(pkt->pkt_pcr, _pcr),
pts_to_string(pkt->pkt_dts, _dts),
pts_to_string(pkt->pkt_pts, _pts),
pkt->pkt_duration,