正在显示
2 个修改的文件
包含
4 行增加
和
3 行删除
@@ -2255,9 +2255,9 @@ int main(int argc, char** argv) | @@ -2255,9 +2255,9 @@ int main(int argc, char** argv) | ||
2255 | int64_t pcr = msg->pcr; | 2255 | int64_t pcr = msg->pcr; |
2256 | static int64_t last_pcr_dts = 0; | 2256 | static int64_t last_pcr_dts = 0; |
2257 | trace("demuxer+report id=%d, type=%s, size=%d, dts=%d, pts=%d, cts=%d, pcr=%d, dts-pcr=%d, ref=%d, unit=%d, dts(diff-pcr)=%d", | 2257 | trace("demuxer+report id=%d, type=%s, size=%d, dts=%d, pts=%d, cts=%d, pcr=%d, dts-pcr=%d, ref=%d, unit=%d, dts(diff-pcr)=%d", |
2258 | - ctx.ts_packet_count, (msg->type == TSPidTypeVideo)? "video":"audio", | ||
2259 | - msg->parsed_packet_size, dts, pts, pts - dts, pcr, pcr? dts - pcr : 0, | ||
2260 | - msg->nal_ref_idc, msg->nal_unit_type, pcr? dts - last_pcr_dts: 0); | 2258 | + (int)ctx.ts_packet_count, (msg->type == TSPidTypeVideo)? "video":"audio", |
2259 | + (int)msg->parsed_packet_size, (int)dts, (int)pts, (int)(pts - dts), (int)pcr, (int)(pcr? dts - pcr : 0), | ||
2260 | + (int)msg->nal_ref_idc, (int)msg->nal_unit_type, (int)(pcr? dts - last_pcr_dts: 0)); | ||
2261 | if (pcr > 0) { | 2261 | if (pcr > 0) { |
2262 | last_pcr_dts = dts; | 2262 | last_pcr_dts = dts; |
2263 | } | 2263 | } |
-
请 注册 或 登录 后发表评论