From bff24e5ab73628c16d75a83099e2ad0578e451a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Tue, 23 Jul 2024 14:12:07 +0200 Subject: [PATCH] vulkanupload: comment zero value usage with VK_ACCESS_NONE Zero is used only for Vulkan version prior to 1.3, because it wasn't defined before. Just for readability. Part-of: --- subprojects/gst-plugins-bad/ext/vulkan/vkupload.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-bad/ext/vulkan/vkupload.c b/subprojects/gst-plugins-bad/ext/vulkan/vkupload.c index d14e870744..ccf23543b0 100644 --- a/subprojects/gst-plugins-bad/ext/vulkan/vkupload.c +++ b/subprojects/gst-plugins-bad/ext/vulkan/vkupload.c @@ -1387,7 +1387,8 @@ gst_vulkan_upload_decide_allocation (GstBaseTransform * bt, GstQuery * query) gst_buffer_pool_config_set_params (config, caps, size, min, max); gst_vulkan_image_buffer_pool_config_set_allocation_params (config, usage, - VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, VK_IMAGE_LAYOUT_UNDEFINED, 0); + VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, VK_IMAGE_LAYOUT_UNDEFINED, + 0 /* VK_ACCESS_NONE */ ); if (!gst_buffer_pool_set_config (pool, config)) { gst_object_unref (pool);