From 96cdf5315e1bbda580c68976fb6e763c4c43729d Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Thu, 16 Jul 2020 09:41:09 +0200 Subject: vo_gpu: vulkan: print libplacebo API ver This normally gets printed by libplacebo itself when initializing the context, but due to the way our code is structured (for convenience) we don't have the log hook enabled by the time this function call is relevant. So instead just print it manually as an easier work-around than restructuring the code. --- video/out/vulkan/utils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/video/out/vulkan/utils.c b/video/out/vulkan/utils.c index 7d9c519c12..ca7f1c4d3a 100644 --- a/video/out/vulkan/utils.c +++ b/video/out/vulkan/utils.c @@ -9,6 +9,7 @@ bool mpvk_init(struct mpvk_ctx *vk, struct ra_ctx *ctx, const char *surface_ext) vk->pl_log = mp_log_new(ctx, ctx->log, "libplacebo"); mppl_ctx_set_log(vk->ctx, vk->pl_log, true); + mp_verbose(vk->pl_log, "Initialized libplacebo v%d\n", PL_API_VER); const char *exts[] = { VK_KHR_SURFACE_EXTENSION_NAME, -- cgit v1.2.3