mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 21:16:24 +00:00
vulkan: remove remaining GST_VULKAN_HAVE_VIDEO_ENCODERS
Some define use have been forgotten in https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6992 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7001>
This commit is contained in:
parent
441e71d1ff
commit
a17957a7c8
2 changed files with 0 additions and 5 deletions
|
@ -373,9 +373,7 @@ gst_vulkan_device_choose_queues (GstVulkanDevice * device)
|
|||
int graph_index, comp_index, tx_index;
|
||||
#if GST_VULKAN_HAVE_VIDEO_EXTENSIONS
|
||||
int dec_index = -1;
|
||||
#if GST_VULKAN_HAVE_VIDEO_ENCODERS
|
||||
int enc_index = -1;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
n_queue_families = device->physical_device->n_queue_families;
|
||||
|
@ -399,11 +397,9 @@ gst_vulkan_device_choose_queues (GstVulkanDevice * device)
|
|||
dec_index = _pick_queue_family (queue_family_props, n_queue_families,
|
||||
VK_QUEUE_VIDEO_DECODE_BIT_KHR, family_scores);
|
||||
array = _append_queue_create_info (array, dec_index, queue_family_props);
|
||||
#if GST_VULKAN_HAVE_VIDEO_ENCODERS
|
||||
enc_index = _pick_queue_family (queue_family_props, n_queue_families,
|
||||
VK_QUEUE_VIDEO_ENCODE_BIT_KHR, family_scores);
|
||||
array = _append_queue_create_info (array, enc_index, queue_family_props);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
g_free (family_scores);
|
||||
|
|
|
@ -100,7 +100,6 @@ vulkan_conf_options = [
|
|||
'GST_VULKAN_HAVE_WINDOW_WIN32',
|
||||
'GST_VULKAN_HAVE_WINDOW_ANDROID',
|
||||
'GST_VULKAN_HAVE_VIDEO_EXTENSIONS',
|
||||
'GST_VULKAN_HAVE_VIDEO_ENCODERS',
|
||||
]
|
||||
|
||||
foreach option : vulkan_conf_options
|
||||
|
|
Loading…
Reference in a new issue