[FFmpeg-cvslog] hwcontext_vulkan: set hwctx->device_features
Lynne
git at videolan.org
Wed Oct 9 02:08:22 EEST 2024
ffmpeg | branch: master | Lynne <dev at lynne.ee> | Wed Oct 9 00:58:14 2024 +0200| [4ad4f8101a0edfb47c5eb896c9f7a658761493ce] | committer: Lynne
hwcontext_vulkan: set hwctx->device_features
This was forgotten during the recent device feature refactor.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4ad4f8101a0edfb47c5eb896c9f7a658761493ce
---
libavutil/hwcontext_vulkan.c | 3 +++
1 file changed, 3 insertions(+)
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;
More information about the ffmpeg-cvslog
mailing list