[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:
parent
76b5d6778e
commit
326865cba2
5 changed files with 23 additions and 14 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue