summaryrefslogtreecommitdiffstats
path: root/video/out/gpu_next
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2022-10-05 21:41:36 +0200
committerNiklas Haas <github-daiK1o@haasn.dev>2022-10-09 21:47:35 +0200
commitc96cee29406bcd5ba0fcfa948386ab229042a028 (patch)
treefbfac15459b7c9a4eca8fe3e0168c1c9a28fcedd /video/out/gpu_next
parent3f32dfe9813ca601bd7ba1d2136e4bff0bf49cd2 (diff)
downloadmpv-c96cee29406bcd5ba0fcfa948386ab229042a028.tar.bz2
mpv-c96cee29406bcd5ba0fcfa948386ab229042a028.tar.xz
vo_gpu_next: vulkan: libplacebo: unify log prefix
The new status quo is simple: all messages coming from libplacebo are marked "vo/gpu{-next}/libplacebo", regardless of the backend API (vulkan vs opengl/d3d11). Messages coming from mpv's internal vulkan code will continue to come from "vo/gpu{-next}/vulkan", and messages coming from the vo module itself will be marked "vo/gpu{-next}". This is significantly better than the old status quo of vulkan messages coming from "vo/gpu{-next}/vulkan/libplacebo" whereas opengl/d3d11 messages simply came from "vo/gpu{-next}", even when those messages originated from libplacebo. (It's worth noting that the the destructor for the log is redundant because it's attached to the ctx which is freed on uninit anyway)
Diffstat (limited to 'video/out/gpu_next')
-rw-r--r--video/out/gpu_next/context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gpu_next/context.c b/video/out/gpu_next/context.c
index b825eab243..3863d6bc40 100644
--- a/video/out/gpu_next/context.c
+++ b/video/out/gpu_next/context.c
@@ -127,7 +127,7 @@ struct gpu_ctx *gpu_ctx_create(struct vo *vo, struct gl_video_opts *gl_opts)
}
#endif
- ctx->pllog = mppl_log_create(ctx->log);
+ ctx->pllog = mppl_log_create(ctx, ctx->log);
if (!ctx->pllog)
goto err_out;