vulkan/fullscreenquad: allow setting NULL input/output buffer to unset

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7000>
This commit is contained in:
Matthew Waters 2024-06-06 17:16:30 +10:00 committed by GStreamer Marge Bot
parent a1463637e0
commit e925f22f33
2 changed files with 4 additions and 4 deletions

View file

@ -2798,7 +2798,7 @@ See also: gst_vulkan_full_screen_quad_set_blend_factors().</doc>
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkfullscreenquad.c">the #GstVulkanFullScreenQuad</doc>
<type name="VulkanFullScreenQuad" c:type="GstVulkanFullScreenQuad*"/>
</instance-parameter>
<parameter name="buffer" transfer-ownership="none">
<parameter name="buffer" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkfullscreenquad.c">the input #GstBuffer to set</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>
@ -2815,7 +2815,7 @@ See also: gst_vulkan_full_screen_quad_set_blend_factors().</doc>
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkfullscreenquad.c">the #GstVulkanFullScreenQuad</doc>
<type name="VulkanFullScreenQuad" c:type="GstVulkanFullScreenQuad*"/>
</instance-parameter>
<parameter name="buffer" transfer-ownership="none">
<parameter name="buffer" transfer-ownership="none" nullable="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkfullscreenquad.c">the output #GstBuffer to set</doc>
<type name="Gst.Buffer" c:type="GstBuffer*"/>
</parameter>

View file

@ -915,7 +915,7 @@ gst_vulkan_full_screen_quad_set_info (GstVulkanFullScreenQuad * self,
/**
* gst_vulkan_full_screen_quad_set_input_buffer:
* @self: the #GstVulkanFullScreenQuad
* @buffer: the input #GstBuffer to set
* @buffer: (nullable): the input #GstBuffer to set
* @error: #GError to fill on failure
*
* Returns: whether the input buffer could be changed
@ -940,7 +940,7 @@ gst_vulkan_full_screen_quad_set_input_buffer (GstVulkanFullScreenQuad * self,
/**
* gst_vulkan_full_screen_quad_set_output_buffer:
* @self: the #GstVulkanFullScreenQuad
* @buffer: the output #GstBuffer to set
* @buffer: (nullable): the output #GstBuffer to set
* @error: #GError to fill on failure
*
* Returns: whether the input buffer could be changed