mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-14 12:05:58 +08:00
兼容一些不规范的流
This commit is contained in:
@@ -186,7 +186,11 @@ void H265Track::inputFrame_l(const Frame::Ptr &frame) {
|
||||
}
|
||||
|
||||
void H265Track::onReady() {
|
||||
getHEVCInfo(_vps, _sps, _width, _height, _fps);
|
||||
if (!getHEVCInfo(_vps, _sps, _width, _height, _fps)) {
|
||||
_vps.clear();
|
||||
_sps.clear();
|
||||
_pps.clear();
|
||||
}
|
||||
}
|
||||
|
||||
Track::Ptr H265Track::clone() {
|
||||
|
||||
Reference in New Issue
Block a user