mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-12 19:24:22 +08:00
修复FrameMerger输入不可缓存帧相关bug
This commit is contained in:
@@ -261,7 +261,7 @@ static bool isNeedMerge(CodecId codec){
|
||||
|
||||
bool FrameMerger::inputFrame(const Frame::Ptr &frame, onOutput cb, BufferLikeString *buffer) {
|
||||
if (frame && !isNeedMerge(frame->getCodecId())) {
|
||||
cb(frame->dts(), frame->pts(), frame, true);
|
||||
cb(frame->dts(), frame->pts(), Frame::getCacheAbleFrame(frame), true);
|
||||
return true;
|
||||
}
|
||||
if (willFlush(frame)) {
|
||||
|
||||
Reference in New Issue
Block a user