修复某些H264视频流缺少sps pps帧的问题 (#4050 #4047 )

This commit is contained in:
xiongguangjie
2024-12-04 10:46:37 +08:00
committed by GitHub
parent 2bf85eb8ff
commit 824be6cbd5
2 changed files with 14 additions and 6 deletions

View File

@@ -146,8 +146,11 @@ private:
bool inputFrame_l(const Frame::Ptr &frame);
void insertConfigFrame(const Frame::Ptr &frame);
bool latestIsConfigFrame();
private:
bool _latest_is_config_frame = false;
bool _latest_is_pps = false;
bool _latest_is_sps = false;
int _width = 0;
int _height = 0;
float _fps = 0;