You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
hwcontext_vulkan: report device that's used
Not sure why this wasn't done before.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user