mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
Merge pull request #992 from ZLMediaKit/feature/ignore-hik-ps-0xbd
忽略海康 PS 流中的 0xBD 包
This commit is contained in:
commit
6dbad3fb59
@ -203,7 +203,8 @@ void DecoderImp::onDecode(int stream,int codecid,int flags,int64_t pts,int64_t d
|
||||
}
|
||||
|
||||
default:
|
||||
if (codecid != 0) {
|
||||
// 海康的 PS 流中会有 codecid 为 0xBD 的包
|
||||
if (codecid != 0 && codecid != 0xBD) {
|
||||
if (_last_unsported_print.elapsedTime() / 1000 > 5) {
|
||||
_last_unsported_print.resetTime();
|
||||
WarnL << "unsupported codec type:" << getCodecName(codecid) << " " << (int) codecid;
|
||||
|
Loading…
Reference in New Issue
Block a user