1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

add ts dts/pts analysis

This commit is contained in:
winlin 2013-11-22 21:27:46 +08:00
parent 08d745f1cf
commit 26c24b7bdc
2 changed files with 208 additions and 0 deletions

View file

@ -2013,6 +2013,9 @@ int consume(TSMessage* msg, AacMuxer* aac_muxer)
trace("ts+aac+h264 ignore empty message.");
return ret;
}
trace("ts+aac+h264+data %s pts:%"PRId64" dts(calc):%"PRId64" dts:%"PRId64" size: %d",
(msg->type == TSPidTypeVideo)? "video":"audio", msg->pts,
(msg->dts == 0)? msg->pts : msg->dts, msg->dts, msg->packet_data_size);
char* last = msg->packet_data + msg->packet_data_size;