From 10464f352f5b838228efe7dba9fa15367f4c6408 Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Wed, 29 Nov 2023 23:23:46 +0100 Subject: [PATCH] vulkan: Annotate queue getter as nullable Part-of: --- girs/GstVulkan-1.0.gir | 6 +++--- .../gst-plugins-bad/gst-libs/gst/vulkan/gstvkdevice.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/girs/GstVulkan-1.0.gir b/girs/GstVulkan-1.0.gir index 3dc5adf93b..d00c72b2cc 100644 --- a/girs/GstVulkan-1.0.gir +++ b/girs/GstVulkan-1.0.gir @@ -1874,9 +1874,9 @@ only have an effect before the call to gst_vulkan_device_open(). Select a compatible queue from the @device supporting the @expected_flags. - - a #GstVulkanQueue for @queue matching the - @expected_flags + + a #GstVulkanQueue for @queue matching + the @expected_flags diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkdevice.c b/subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkdevice.c index 9364333b18..04fee59650 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkdevice.c +++ b/subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkdevice.c @@ -1091,12 +1091,12 @@ _choose_queue (GstVulkanDevice * device, GstVulkanQueue * queue, /** * gst_vulkan_device_select_queue * @device: a #GstVulkanDevice - * @expected_flags: a VkQueueFlagBits + * @expected_flags: a VkQueueFlagBits * * Select a compatible queue from the @device supporting the @expected_flags. * - * Returns: (transfer full): a #GstVulkanQueue for @queue matching the - * @expected_flags + * Returns: (transfer full) (nullable): a #GstVulkanQueue for @queue matching + * the @expected_flags * * Since: 1.24 */