整理代码

This commit is contained in:
xiongziliang 2020-09-06 17:51:00 +08:00
parent 9bfbe02f73
commit 9fa2221a79

View File

@ -90,7 +90,6 @@ void TsMuxer::inputFrame(const Frame::Ptr &frame) {
if(it == _codec_to_trackid.end()){
return;
}
//mp4文件时间戳需要从0开始
auto &track_info = it->second;
int64_t dts_out, pts_out;
_is_idr_fast_packet = !_have_video;
@ -132,7 +131,7 @@ void TsMuxer::inputFrame(const Frame::Ptr &frame) {
case CodecAAC: {
if (frame->prefixSize() == 0) {
WarnL << "必须提供adts头才能mpegts打包";
WarnL << "必须提供adts头才能mpeg-ts打包";
break;
}
}