vulkan/swapper: expose choose_queue() in docs

It was missing a doc trigraph.

Also mark input queue argument as nullable.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7023>
This commit is contained in:
Matthew Waters 2024-06-12 23:15:29 +10:00
parent 53f8621e00
commit 050c622b7f
2 changed files with 5 additions and 3 deletions

View file

@ -5327,9 +5327,11 @@ See gst_vulkan_queue_submit_lock() for details on when this call is needed.</doc
</return-value>
<parameters>
<instance-parameter name="swapper" transfer-ownership="none">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkswapper.c">a #GstVulkanSwapper</doc>
<type name="VulkanSwapper" c:type="GstVulkanSwapper*"/>
</instance-parameter>
<parameter name="available_queue" transfer-ownership="none">
<parameter name="available_queue" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkswapper.c">a #GstVulkanQueue chosen elsewhere</doc>
<type name="VulkanQueue" c:type="GstVulkanQueue*"/>
</parameter>
</parameters>

View file

@ -290,10 +290,10 @@ _choose_queue (GstVulkanDevice * device, GstVulkanQueue * queue,
return TRUE;
}
/*
/**
* gst_vulkan_swapper_choose_queue:
* @swapper: a #GstVulkanSwapper
* @available_queue: (transfer none): a #GstVulkanQueue chosen elsewhere
* @available_queue: (transfer none) (nullable): a #GstVulkanQueue chosen elsewhere
* @error: a #GError
*/
gboolean