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)) {