vkimagebufferpool: fix regression from !9492

On commit 1a7f0f162726f07f5723e0c1f43f2c6725d07c80 a regression were introduced
by omitting to initialize the profileCount field.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9545>
This commit is contained in:
Víctor Manuel Jáquez Leal 2025-08-12 14:24:52 +02:00
parent f7c1eae481
commit 9f8885c19c

View File

@ -219,6 +219,7 @@ gst_vulkan_image_buffer_pool_fill_buffer (GstVulkanImageBufferPool * vk_pool,
VkVideoProfileInfoKHR profiles[2];
VkVideoProfileListInfoKHR profile_list = {
.sType = VK_STRUCTURE_TYPE_VIDEO_PROFILE_LIST_INFO_KHR,
.profileCount = priv->n_profiles,
.pProfiles = profiles,
};
#endif