[host1x] Improve FFmpeg error handling (#2643)

This improves the FFmpeg error handling.

Reviewed-on: #2643
Co-authored-by: MaranBr <maranbr@outlook.com>
Co-committed-by: MaranBr <maranbr@outlook.com>
This commit is contained in:
MaranBr 2025-10-02 00:15:14 +02:00 committed by crueter
parent 76b5d6778e
commit 326865cba2
Signed by: crueter
GPG key ID: 425ACD2D4830EBC6
5 changed files with 23 additions and 14 deletions

View file

@ -146,6 +146,11 @@ void Vic::Execute() {
}
auto frame = frame_queue.GetFrame(nvdec_id, luma_offset);
if (!frame) {
continue;
}
if (!frame.get()) {
LOG_ERROR(HW_GPU, "Vic {} failed to get frame with offset {:#X}", id, luma_offset);
continue;