aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/hwcontext_vulkan.c
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2022-11-23 02:37:14 +0100
committerLynne <dev@lynne.ee>2023-05-29 00:41:36 +0200
commitfddfb0ebf893c8b09bbad8dd722037828c5463c1 (patch)
tree6f5d4def036bfdfb94dc4a2c8f75919119d4a249 /libavutil/hwcontext_vulkan.c
parent59707cc485c7fcc1c06b96648ce605ed558da4ac (diff)
downloadffmpeg-fddfb0ebf893c8b09bbad8dd722037828c5463c1.tar.gz
hwcontext_vulkan: enable support for YCbCr samplers
Diffstat (limited to 'libavutil/hwcontext_vulkan.c')
-rw-r--r--libavutil/hwcontext_vulkan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c
index 4185fb6110..f8cc2d9dbd 100644
--- a/libavutil/hwcontext_vulkan.c
+++ b/libavutil/hwcontext_vulkan.c
@@ -1378,6 +1378,7 @@ static int vulkan_device_create_internal(AVHWDeviceContext *ctx,
goto end;
}
p->device_features_1_2.timelineSemaphore = 1;
+ p->device_features_1_1.samplerYcbcrConversion = dev_features_1_1.samplerYcbcrConversion;
/* Setup queue family */
if ((err = setup_queue_families(ctx, &dev_info)))