解耦开发5,修复编译错误
This commit is contained in:
parent
9642d22112
commit
d2a40d97cf
@ -588,7 +588,7 @@ private:
|
|||||||
dp.size = size;
|
dp.size = size;
|
||||||
dp.pts = static_cast<uint64_t>(pts_us);
|
dp.pts = static_cast<uint64_t>(pts_us);
|
||||||
dp.keyframe = is_idr;
|
dp.keyframe = is_idr;
|
||||||
const bool ok = decoder->Send(dp).Ok();
|
const bool ok = decoder->Send(dp).IsOk();
|
||||||
if (ok) {
|
if (ok) {
|
||||||
DrainDecoder(decoder, [&](const FramePtr& frame) { HandleDecodedFrame(frame); });
|
DrainDecoder(decoder, [&](const FramePtr& frame) { HandleDecodedFrame(frame); });
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user