Reduce misleading gpu logs (#346)

This commit is contained in:
Bruno 2026-10-05 02:00:48 +02:00 committed by GitHub
parent 6adeb3757f
commit 1a2f243bd1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -45,7 +45,6 @@ void TranslatorVisitor::ISBERD(u64 insn) {
if (isberd.shift != Shift::Default) {
throw NotImplementedException("Shift {}", isberd.shift.Value());
}
LOG_WARNING(Shader, "(STUBBED) called");
X(isberd.dest_reg, X(isberd.src_reg));
}

View File

@ -279,7 +279,10 @@ std::unique_ptr<Frame> DecoderContext::ReceiveFrame(bool * out_is_interlaced)
const auto ReceiveImpl = [&](AVFrame * frame) {
if (const int ret = avcodec_receive_frame(m_codec_context, frame); ret < 0)
{
LOG_ERROR(HW_GPU, "avcodec_receive_frame error: {}", AVError(ret));
if (ret != AVERROR_EOF && ret != AVERROR(EAGAIN))
{
LOG_ERROR(HW_GPU, "avcodec_receive_frame error: {}", AVError(ret));
}
return false;
}