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.
This commit is contained in:
wm4 2019-10-20 23:22:21 +02:00
parent 579b9eb8de
commit 8a4e9d5c18
1 changed files with 2 additions and 2 deletions

View File

@ -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