mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 13:11:06 +00:00
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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7165>
This commit is contained in:
parent
2990cc5f71
commit
cdf07cd912
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue