You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +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);
|
||||
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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user