diff --git a/ext/vulkan/vk_fwd.h b/ext/vulkan/vk_fwd.h index 1173eb7e21..547e5a2cbd 100644 --- a/ext/vulkan/vk_fwd.h +++ b/ext/vulkan/vk_fwd.h @@ -36,6 +36,8 @@ typedef struct _GstVulkanDevicePrivate GstVulkanDevicePrivate; typedef struct _GstVulkanQueue GstVulkanQueue; typedef struct _GstVulkanQueueClass GstVulkanQueueClass; +typedef enum _GstVulkanDisplayType GstVulkanDisplayType; + typedef struct _GstVulkanDisplay GstVulkanDisplay; typedef struct _GstVulkanDisplayClass GstVulkanDisplayClass; typedef struct _GstVulkanDisplayPrivate GstVulkanDisplayPrivate; diff --git a/ext/vulkan/vkdisplay.h b/ext/vulkan/vkdisplay.h index b1487fba2b..3f8f13dffe 100644 --- a/ext/vulkan/vkdisplay.h +++ b/ext/vulkan/vkdisplay.h @@ -41,7 +41,7 @@ GType gst_vulkan_display_get_type (void); #define GST_VULKAN_DISPLAY_CONTEXT_TYPE_STR "gst.vulkan.display" -typedef enum +enum _GstVulkanDisplayType { GST_VULKAN_DISPLAY_TYPE_NONE = 0, GST_VULKAN_DISPLAY_TYPE_X11 = (1 << 0), @@ -51,7 +51,7 @@ typedef enum GST_VULKAN_DISPLAY_TYPE_WIN32 = (1 << 4), GST_VULKAN_DISPLAY_TYPE_ANY = G_MAXUINT32 -} GstVulkanDisplayType; +}; /** * GstVulkanDisplay: