mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 14:08:56 +00:00
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:
parent
1e2ff519c6
commit
ea2bd1882f
1 changed files with 3 additions and 0 deletions
|
@ -534,6 +534,9 @@ gst_vulkan_device_foreach_queue (GstVulkanDevice * device,
|
||||||
gboolean done = FALSE;
|
gboolean done = FALSE;
|
||||||
guint i, j;
|
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++) {
|
for (i = 0; i < priv->queues->len; i++) {
|
||||||
VkDeviceQueueCreateInfo *qi =
|
VkDeviceQueueCreateInfo *qi =
|
||||||
&g_array_index (priv->queues, VkDeviceQueueCreateInfo, i);
|
&g_array_index (priv->queues, VkDeviceQueueCreateInfo, i);
|
||||||
|
|
Loading…
Reference in a new issue