From cdf07cd9121047b6ec1a17741488b9b456564c8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Fri, 12 Jul 2024 10:06:03 +0200 Subject: [PATCH] vulkanh264dec: set access NONE at buffer pool allocation parameters Since the decoding queue might not have transfer capabilities. This change also applies to unit test. Part-of: --- subprojects/gst-plugins-bad/ext/vulkan/vkh264dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-bad/ext/vulkan/vkh264dec.c b/subprojects/gst-plugins-bad/ext/vulkan/vkh264dec.c index 00d09993bb..940a9a2adb 100644 --- a/subprojects/gst-plugins-bad/ext/vulkan/vkh264dec.c +++ b/subprojects/gst-plugins-bad/ext/vulkan/vkh264dec.c @@ -356,7 +356,7 @@ gst_vulkan_h264_decoder_decide_allocation (GstVideoDecoder * decoder, gst_vulkan_image_buffer_pool_config_set_allocation_params (config, usage, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, VK_IMAGE_LAYOUT_VIDEO_DECODE_DST_KHR, - VK_ACCESS_TRANSFER_WRITE_BIT); + VK_ACCESS_NONE); gst_vulkan_image_buffer_pool_config_set_decode_caps (config, profile_caps); gst_caps_unref (profile_caps);