ffmpeg | branch: master | Lynne <d...@lynne.ee> | Fri Aug 30 16:43:21 2024 
+0000| [fd86c373c28148483117302935bf51b64141dabb] | committer: Lynne

vulkan: use correct return codes for query errors

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fd86c373c28148483117302935bf51b64141dabb
---

 libavutil/vulkan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/vulkan.c b/libavutil/vulkan.c
index bb8e7ae786..fe5affa72a 100644
--- a/libavutil/vulkan.c
+++ b/libavutil/vulkan.c
@@ -444,7 +444,7 @@ VkResult ff_vk_exec_get_query(FFVulkanContext *s, 
FFVkExecContext *e,
     VkQueryResultFlags qf = 0;
 
     if (!e->had_submission)
-        return VK_NOT_READY;
+        return VK_INCOMPLETE;
 
     qf |= pool->query_64bit ?
           VK_QUERY_RESULT_64_BIT : 0x0;

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to