From f5d5b71731d3c9a6c3e0dd56ce775f5d3e320918 Mon Sep 17 00:00:00 2001 From: xia-chu <771730766@qq.com> Date: Fri, 29 Nov 2024 20:15:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DFrameMerger=E8=BE=93=E5=85=A5?= =?UTF-8?q?=E4=B8=8D=E5=8F=AF=E7=BC=93=E5=AD=98=E5=B8=A7=E7=9B=B8=E5=85=B3?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Extension/Frame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Extension/Frame.cpp b/src/Extension/Frame.cpp index 080d10ac..63891ce6 100644 --- a/src/Extension/Frame.cpp +++ b/src/Extension/Frame.cpp @@ -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)) {