解耦开发5,修复编译错误

This commit is contained in:
sladro 2026-01-16 20:21:51 +08:00
parent 9642d22112
commit d2a40d97cf

View File

@ -588,7 +588,7 @@ private:
dp.size = size;
dp.pts = static_cast<uint64_t>(pts_us);
dp.keyframe = is_idr;
const bool ok = decoder->Send(dp).Ok();
const bool ok = decoder->Send(dp).IsOk();
if (ok) {
DrainDecoder(decoder, [&](const FramePtr& frame) { HandleDecodedFrame(frame); });
}