vulkan: remove beta extensions guard for encode operations

This is not needed anymore since encoder operations are not beta anymore.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7179>
This commit is contained in:
Víctor Manuel Jáquez Leal 2024-07-05 11:36:04 +02:00 committed by GStreamer Marge Bot
parent dbc8a1397d
commit c7259f3a5b
2 changed files with 0 additions and 4 deletions

View file

@ -110,10 +110,8 @@ static const struct
#endif
#if GST_VULKAN_HAVE_VIDEO_EXTENSIONS
{VK_QUEUE_VIDEO_DECODE_BIT_KHR, "decode"},
#ifdef VK_ENABLE_BETA_EXTENSIONS
{VK_QUEUE_VIDEO_ENCODE_BIT_KHR, "encode"}
#endif
#endif
};
/**
* gst_vulkan_queue_flags_to_string:

View file

@ -544,12 +544,10 @@ _get_usage (guint64 feature)
VK_IMAGE_USAGE_VIDEO_DECODE_DST_BIT_KHR},
{VK_FORMAT_FEATURE_2_VIDEO_DECODE_DPB_BIT_KHR,
VK_IMAGE_USAGE_VIDEO_DECODE_DPB_BIT_KHR},
#ifdef VK_ENABLE_BETA_EXTENSIONS
{VK_FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHR,
VK_IMAGE_USAGE_VIDEO_ENCODE_DPB_BIT_KHR},
{VK_FORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHR,
VK_IMAGE_USAGE_VIDEO_ENCODE_SRC_BIT_KHR},
#endif
#endif
};
/* *INDENT-ON* */