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:
parent
08d745f1cf
commit
26c24b7bdc
2 changed files with 208 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue