diff options
Diffstat (limited to 'ext/vulkan')
-rw-r--r-- | ext/vulkan/vkupload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/vulkan/vkupload.c b/ext/vulkan/vkupload.c index 8839630e9..aa4d2042b 100644 --- a/ext/vulkan/vkupload.c +++ b/ext/vulkan/vkupload.c @@ -776,7 +776,7 @@ _upload_find_method (GstVulkanUpload * vk_upload) { vk_upload->current_impl++; - if (vk_upload->current_impl > G_N_ELEMENTS (upload_methods)) + if (vk_upload->current_impl >= G_N_ELEMENTS (upload_methods)) return FALSE; GST_DEBUG_OBJECT (vk_upload, "attempting upload with uploader %s", |