1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-25 04:38:01 +00:00

vo_gpu_next: remove ewa_lanczossharp nag

Upstream finally caved in to peer pressure and added this filter. Of
course, this also removes the fallback for people on older versions of
libplacebo, but people using mpv git master are probably using
libplacebo git master anyway. It's time to debloat this code.
This commit is contained in:
Niklas Haas 2023-09-15 12:15:30 +02:00 committed by Niklas Haas
parent 3972fd1be4
commit 818ef158e8

View File

@ -1762,12 +1762,6 @@ static const struct pl_filter_config *map_scaler(struct priv *p,
.params[1] = fpreset->function->params[1],
#endif
};
} else if (!strcmp(cfg->kernel.name, "ewa_lanczossharp")) {
par->config = pl_filter_ewa_lanczos;
par->config.blur = 0.9812505644269356;
MP_WARN(p, "'ewa_lanczossharp' is deprecated and will be removed from "
"vo=gpu-next in the future, use --scale=ewa_lanczos "
"--scale-blur=%f to replicate it.\n", par->config.blur);
} else {
MP_ERR(p, "Failed mapping filter function '%s', no libplacebo analog?\n",
cfg->kernel.name);