vkdevice: add programming parameters verification

To `gst_vulkan_device_foreach_queue()`.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4351>
This commit is contained in:
Víctor Manuel Jáquez Leal 2023-03-28 15:27:18 +02:00 committed by GStreamer Marge Bot
parent 1e2ff519c6
commit ea2bd1882f

View file

@ -534,6 +534,9 @@ gst_vulkan_device_foreach_queue (GstVulkanDevice * device,
gboolean done = FALSE;
guint i, j;
g_return_if_fail (GST_IS_VULKAN_DEVICE (device));
g_return_if_fail (priv->opened);
for (i = 0; i < priv->queues->len; i++) {
VkDeviceQueueCreateInfo *qi =
&g_array_index (priv->queues, VkDeviceQueueCreateInfo, i);