mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-30 19:32:13 +00:00
hwcontext_vulkan: print error information on queue submission failure
Makes it clearer what went wrong.
This commit is contained in:
parent
c96d1ee401
commit
6a23a5597c
@ -1108,6 +1108,8 @@ static int submit_exec_ctx(AVHWFramesContext *hwfc, VulkanExecCtx *cmd,
|
||||
|
||||
ret = vk->QueueSubmit(q->queue, 1, s_info, q->fence);
|
||||
if (ret != VK_SUCCESS) {
|
||||
av_log(hwfc, AV_LOG_ERROR, "Queue submission failure: %s\n",
|
||||
vk_ret2str(ret));
|
||||
unref_exec_ctx_deps(hwfc, cmd);
|
||||
return AVERROR_EXTERNAL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user