vulkan: encoder and decoder runtime check for driver version 1.3.275

Which is the one checked in meson. See commit 21ee264d65

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7247>
This commit is contained in:
Víctor Manuel Jáquez Leal 2024-07-26 17:09:59 +02:00
parent bd64374174
commit d8e384085a
2 changed files with 2 additions and 2 deletions

View file

@ -1355,7 +1355,7 @@ gst_vulkan_decoder_new_from_queue (GstVulkanQueue * queue, guint codec)
flags = device->queue_family_props[queue->family].queueFlags;
supported_video_ops = device->queue_family_ops[queue->family].video;
if (device->properties.apiVersion < VK_MAKE_VERSION (1, 3, 238)) {
if (device->properties.apiVersion < VK_MAKE_VERSION (1, 3, 275)) {
GST_WARNING_OBJECT (queue,
"Driver API version [%d.%d.%d] doesn't support Video extensions",
VK_VERSION_MAJOR (device->properties.apiVersion),

View file

@ -1395,7 +1395,7 @@ gst_vulkan_encoder_create_from_queue (GstVulkanQueue * queue, guint codec)
flags = device->queue_family_props[queue->family].queueFlags;
supported_video_ops = device->queue_family_ops[queue->family].video;
if (device->properties.apiVersion < VK_MAKE_VERSION (1, 3, 271)) {
if (device->properties.apiVersion < VK_MAKE_VERSION (1, 3, 275)) {
GST_WARNING_OBJECT (queue,
"API version %d.%d.%d doesn't support video encode extensions",
VK_VERSION_MAJOR (device->properties.apiVersion),