aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2024-10-09 00:58:14 +0200
committerLynne <dev@lynne.ee>2024-10-09 01:01:32 +0200
commit4ad4f8101a0edfb47c5eb896c9f7a658761493ce (patch)
tree544ecf86184e4608421bd9abdce179b7ffd86e73
parent31def0c3ce47e72d201d0fdf1e75498694ea7fd7 (diff)
downloadffmpeg-4ad4f8101a0edfb47c5eb896c9f7a658761493ce.tar.gz
hwcontext_vulkan: set hwctx->device_features
This was forgotten during the recent device feature refactor.
-rw-r--r--libavutil/hwcontext_vulkan.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c
index b448284f48..aaf2c78ebd 100644
--- a/libavutil/hwcontext_vulkan.c
+++ b/libavutil/hwcontext_vulkan.c
@@ -1638,6 +1638,9 @@ static int vulkan_device_create_internal(AVHWDeviceContext *ctx,
p->disable_multiplane = strtol(opt_d->value, NULL, 10);
}
+ /* Set the public device feature struct and its pNext chain */
+ hwctx->device_features = p->feats.device;
+
/* Set the list of all active extensions */
hwctx->enabled_dev_extensions = dev_info.ppEnabledExtensionNames;
hwctx->nb_enabled_dev_extensions = dev_info.enabledExtensionCount;