summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2020-07-16 09:41:09 +0200
committerNiklas Haas <git@haasn.xyz>2020-07-16 09:41:09 +0200
commit96cdf5315e1bbda580c68976fb6e763c4c43729d (patch)
tree4655d867de3c14ea29ccdb3f690c551d2eb5d8d7
parent2a89da0c8548bec624f7f60f0b08d98602c7d394 (diff)
downloadmpv-master.tar.bz2
mpv-master.tar.xz
vo_gpu: vulkan: print libplacebo API verHEADmaster
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.
-rw-r--r--video/out/vulkan/utils.c1
1 files changed, 1 insertions, 0 deletions
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,