summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavutil/hwcontext_vulkan.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c
index 91bca22d48..6aba9e3b8e 100644
--- a/libavutil/hwcontext_vulkan.c
+++ b/libavutil/hwcontext_vulkan.c
@@ -885,8 +885,13 @@ static int find_device(AVHWDeviceContext *ctx, VulkanDeviceSelection *select)
}
end:
- if (choice > -1)
+ if (choice > -1) {
+ av_log(ctx, AV_LOG_VERBOSE, "Device %d selected: %s (%s) (0x%x)\n",
+ choice, prop[choice].properties.deviceName,
+ vk_dev_type(prop[choice].properties.deviceType),
+ prop[choice].properties.deviceID);
hwctx->phys_dev = devices[choice];
+ }
av_free(devices);
av_free(prop);