vkinstance: register GStreamer version as engine version

Specification says:

"""
engineVersion is an unsigned integer variable containing the developer-supplied
version number of the engine used to create the application.
"""

Assuming the engine is GStreamer, it would be expected to set its version as
engine version.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4243>
This commit is contained in:
Víctor Manuel Jáquez Leal 2023-03-20 17:12:31 +01:00
parent af6dccd6e6
commit 746e81fccf

View file

@ -958,7 +958,8 @@ gst_vulkan_instance_open (GstVulkanInstance * instance, GError ** error)
.pApplicationName = APP_SHORT_NAME,
.applicationVersion = 0,
.pEngineName = APP_SHORT_NAME,
.engineVersion = 0,
.engineVersion = VK_MAKE_VERSION (GST_VERSION_MAJOR, GST_VERSION_MINOR,
GST_VERSION_MICRO),
.apiVersion = requested_instance_api,
};