mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 05:31:15 +00:00
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:
parent
3d081c45be
commit
31c23fb6c0
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue