mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-17 21:00:51 +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);
|
ret = vk->QueueSubmit(q->queue, 1, s_info, q->fence);
|
||||||
if (ret != VK_SUCCESS) {
|
if (ret != VK_SUCCESS) {
|
||||||
|
av_log(hwfc, AV_LOG_ERROR, "Queue submission failure: %s\n",
|
||||||
|
vk_ret2str(ret));
|
||||||
unref_exec_ctx_deps(hwfc, cmd);
|
unref_exec_ctx_deps(hwfc, cmd);
|
||||||
return AVERROR_EXTERNAL;
|
return AVERROR_EXTERNAL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user