Reduce misleading gpu logs (#346)
This commit is contained in:
parent
6adeb3757f
commit
1a2f243bd1
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue