mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-21 05:26:23 +00:00
vulkan/fullscreenquad: mark set_info GstVideoInfo as const
It's not modified by the function. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6987>
This commit is contained in:
parent
9ca8f16a3b
commit
5e182c911c
3 changed files with 4 additions and 4 deletions
|
@ -2766,11 +2766,11 @@ See also: gst_vulkan_full_screen_quad_set_blend_factors().</doc>
|
|||
</instance-parameter>
|
||||
<parameter name="in_info" transfer-ownership="none">
|
||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkfullscreenquad.c">the input #GstVideoInfo to set</doc>
|
||||
<type name="GstVideo.VideoInfo" c:type="GstVideoInfo*"/>
|
||||
<type name="GstVideo.VideoInfo" c:type="const GstVideoInfo*"/>
|
||||
</parameter>
|
||||
<parameter name="out_info" transfer-ownership="none">
|
||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkfullscreenquad.c">the output #GstVideoInfo to set</doc>
|
||||
<type name="GstVideo.VideoInfo" c:type="GstVideoInfo*"/>
|
||||
<type name="GstVideo.VideoInfo" c:type="const GstVideoInfo*"/>
|
||||
</parameter>
|
||||
</parameters>
|
||||
</method>
|
||||
|
|
|
@ -898,7 +898,7 @@ gst_vulkan_full_screen_quad_class_init (GstVulkanFullScreenQuadClass * klass)
|
|||
*/
|
||||
gboolean
|
||||
gst_vulkan_full_screen_quad_set_info (GstVulkanFullScreenQuad * self,
|
||||
GstVideoInfo * in_info, GstVideoInfo * out_info)
|
||||
const GstVideoInfo * in_info, const GstVideoInfo * out_info)
|
||||
{
|
||||
self->out_info = *out_info;
|
||||
self->in_info = *in_info;
|
||||
|
|
|
@ -105,7 +105,7 @@ GST_VULKAN_API
|
|||
GstVulkanFullScreenQuad * gst_vulkan_full_screen_quad_new (GstVulkanQueue * queue);
|
||||
|
||||
GST_VULKAN_API
|
||||
gboolean gst_vulkan_full_screen_quad_set_info (GstVulkanFullScreenQuad * self, GstVideoInfo *in_info, GstVideoInfo * out_info);
|
||||
gboolean gst_vulkan_full_screen_quad_set_info (GstVulkanFullScreenQuad * self, const GstVideoInfo *in_info, const GstVideoInfo * out_info);
|
||||
GST_VULKAN_API
|
||||
gboolean gst_vulkan_full_screen_quad_set_shaders (GstVulkanFullScreenQuad * self, GstVulkanHandle * vert, GstVulkanHandle * frag);
|
||||
GST_VULKAN_API
|
||||
|
|
Loading…
Reference in a new issue