You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
hwcontext_vulkan: print error information on queue submission failure
Makes it clearer what went wrong.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user