mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +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">
|
<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>
|
<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"/>
|
<source-position filename="../subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkdevice.h"/>
|
||||||
<return-value transfer-ownership="full">
|
<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
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkdevice.c">a #GstVulkanQueue for @queue matching
|
||||||
@expected_flags</doc>
|
the @expected_flags</doc>
|
||||||
<type name="VulkanQueue" c:type="GstVulkanQueue*"/>
|
<type name="VulkanQueue" c:type="GstVulkanQueue*"/>
|
||||||
</return-value>
|
</return-value>
|
||||||
<parameters>
|
<parameters>
|
||||||
|
|
|
@ -1091,12 +1091,12 @@ _choose_queue (GstVulkanDevice * device, GstVulkanQueue * queue,
|
||||||
/**
|
/**
|
||||||
* gst_vulkan_device_select_queue
|
* gst_vulkan_device_select_queue
|
||||||
* @device: a #GstVulkanDevice
|
* @device: a #GstVulkanDevice
|
||||||
* @expected_flags: a VkQueueFlagBits
|
* @expected_flags: a VkQueueFlagBits
|
||||||
*
|
*
|
||||||
* Select a compatible queue from the @device supporting the @expected_flags.
|
* Select a compatible queue from the @device supporting the @expected_flags.
|
||||||
*
|
*
|
||||||
* Returns: (transfer full): a #GstVulkanQueue for @queue matching the
|
* Returns: (transfer full) (nullable): a #GstVulkanQueue for @queue matching
|
||||||
* @expected_flags
|
* the @expected_flags
|
||||||
*
|
*
|
||||||
* Since: 1.24
|
* Since: 1.24
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue