mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 04:41:16 +00:00
vulkan: Annotate queue getter as nullable
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5736>
This commit is contained in:
parent
848256a7f5
commit
10464f352f
2 changed files with 6 additions and 6 deletions
|
@ -1874,9 +1874,9 @@ only have an effect before the call to gst_vulkan_device_open().</doc>
|
|||
<method name="select_queue" c:identifier="gst_vulkan_device_select_queue" version="1.24">
|
||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkdevice.c">Select a compatible queue from the @device supporting the @expected_flags.</doc>
|
||||
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkdevice.h"/>
|
||||
<return-value transfer-ownership="full">
|
||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkdevice.c">a #GstVulkanQueue for @queue matching the
|
||||
@expected_flags</doc>
|
||||
<return-value transfer-ownership="full" nullable="1">
|
||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkdevice.c">a #GstVulkanQueue for @queue matching
|
||||
the @expected_flags</doc>
|
||||
<type name="VulkanQueue" c:type="GstVulkanQueue*"/>
|
||||
</return-value>
|
||||
<parameters>
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue