From 8a4e9d5c180157684546db4c1235d8c958172ca9 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 20 Oct 2019 23:22:21 +0200 Subject: sws_utils: improve zimg fallback messages This could log: [swscale] falling back to swscale And that's a WTF, even if you're aware of the fucky way zimg was hacked into the filter chain. --- video/sws_utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/video/sws_utils.c b/video/sws_utils.c index 9f1d0fd950..b667390eca 100644 --- a/video/sws_utils.c +++ b/video/sws_utils.c @@ -215,10 +215,10 @@ int mp_sws_reinit(struct mp_sws_context *ctx) ctx->zimg->dst = *dst; if (mp_zimg_config(ctx->zimg)) { ctx->zimg_ok = true; - MP_VERBOSE(ctx, "using zimg\n"); + MP_VERBOSE(ctx, "Using zimg.\n"); goto success; } - MP_WARN(ctx, "falling back to swscale\n"); + MP_WARN(ctx, "Not using zimg, falling back to swscale.\n"); } #endif -- cgit v1.2.3