vulkan: Mark gst_vulkan_image_view_new create_info as constant pointer
authorMarijn Suijten <marijns95@gmail.com>
Fri, 14 May 2021 08:24:05 +0000 (10:24 +0200)
committerMarijn Suijten <marijns95@gmail.com>
Tue, 1 Nov 2022 14:19:51 +0000 (15:19 +0100)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1615>

subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkimageview.c
subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkimageview.h

index c8f86ba..6bca056 100644 (file)
@@ -96,7 +96,7 @@ gst_vulkan_image_view_free (GstVulkanImageView * view)
  */
 GstVulkanImageView *
 gst_vulkan_image_view_new (GstVulkanImageMemory * image,
-    VkImageViewCreateInfo * create_info)
+    const VkImageViewCreateInfo * create_info)
 {
   GstVulkanImageView *view;
   GError *error = NULL;
index 644335a..3202252 100644 (file)
@@ -121,7 +121,7 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstVulkanImageView, gst_vulkan_image_view_unref)
 
 GST_VULKAN_API
 GstVulkanImageView *    gst_vulkan_image_view_new           (GstVulkanImageMemory * image,
-                                                             VkImageViewCreateInfo * create_info);
+                                                             const VkImageViewCreateInfo * create_info);
 
 G_END_DECLS