vulkan: Mark gst_vulkan_image_view_new create_info as constant pointer

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1615>
This commit is contained in:
Marijn Suijten 2021-05-14 10:24:05 +02:00
parent 3d081c45be
commit 31c23fb6c0
2 changed files with 2 additions and 2 deletions

View file

@ -96,7 +96,7 @@ gst_vulkan_image_view_free (GstVulkanImageView * view)
*/ */
GstVulkanImageView * GstVulkanImageView *
gst_vulkan_image_view_new (GstVulkanImageMemory * image, gst_vulkan_image_view_new (GstVulkanImageMemory * image,
VkImageViewCreateInfo * create_info) const VkImageViewCreateInfo * create_info)
{ {
GstVulkanImageView *view; GstVulkanImageView *view;
GError *error = NULL; GError *error = NULL;

View file

@ -121,7 +121,7 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstVulkanImageView, gst_vulkan_image_view_unref)
GST_VULKAN_API GST_VULKAN_API
GstVulkanImageView * gst_vulkan_image_view_new (GstVulkanImageMemory * image, GstVulkanImageView * gst_vulkan_image_view_new (GstVulkanImageMemory * image,
VkImageViewCreateInfo * create_info); const VkImageViewCreateInfo * create_info);
G_END_DECLS G_END_DECLS