diff options
author | Niklas Haas <git@haasn.xyz> | 2020-07-16 09:41:09 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.xyz> | 2020-07-16 09:41:09 +0200 |
commit | 96cdf5315e1bbda580c68976fb6e763c4c43729d (patch) | |
tree | 4655d867de3c14ea29ccdb3f690c551d2eb5d8d7 /video/out | |
parent | 2a89da0c8548bec624f7f60f0b08d98602c7d394 (diff) | |
download | mpv-96cdf5315e1bbda580c68976fb6e763c4c43729d.tar.bz2 mpv-96cdf5315e1bbda580c68976fb6e763c4c43729d.tar.xz |
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.
Diffstat (limited to 'video/out')
-rw-r--r-- | video/out/vulkan/utils.c | 1 |
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, |