mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
删除输入多余的sps pps vps帧
This commit is contained in:
parent
214cc4c505
commit
65b5a1272b
@ -265,20 +265,17 @@ public:
|
||||
case H265Frame::NAL_VPS: {
|
||||
//vps
|
||||
_vps = string(frame->data() + frame->prefixSize(), frame->size() - frame->prefixSize());
|
||||
VideoTrack::inputFrame(frame);
|
||||
}
|
||||
break;
|
||||
|
||||
case H265Frame::NAL_SPS: {
|
||||
//sps
|
||||
_sps = string(frame->data() + frame->prefixSize(), frame->size() - frame->prefixSize());
|
||||
VideoTrack::inputFrame(frame);
|
||||
}
|
||||
break;
|
||||
case H265Frame::NAL_PPS: {
|
||||
//pps
|
||||
_pps = string(frame->data() + frame->prefixSize(), frame->size() - frame->prefixSize());
|
||||
VideoTrack::inputFrame(frame);
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user