vkencoder-private: increase reference slots array

H264 has the maximum number of refs (36) of any supported codec.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7993>
This commit is contained in:
Víctor Manuel Jáquez Leal 2024-09-19 12:29:23 +02:00 committed by GStreamer Marge Bot
parent 479defdcf9
commit 133011c9ba

View file

@ -1039,7 +1039,7 @@ gst_vulkan_encoder_encode (GstVulkanEncoder * self,
VkVideoEncodeInfoKHR encode_info;
VkVideoEndCodingInfoKHR end_coding;
gint maxDpbSlots;
VkVideoReferenceSlotInfoKHR ref_slots[16];
VkVideoReferenceSlotInfoKHR ref_slots[37];
gint ref_slot_num = 0;
GstVulkanCommandBuffer *cmd_buf;
GArray *barriers;