From 3a2838c88d428ced32a562a0361f2a89ec0fda27 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Fri, 24 Jun 2022 16:11:17 +0200 Subject: [PATCH] vo_gpu_next: implement --cscale Fixes #9451 --- video/out/vo_gpu_next.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/video/out/vo_gpu_next.c b/video/out/vo_gpu_next.c index 3727c072f6..2bdda0275f 100644 --- a/video/out/vo_gpu_next.c +++ b/video/out/vo_gpu_next.c @@ -1608,6 +1608,9 @@ static void update_render_options(struct vo *vo) // Map scaler options as best we can p->params.upscaler = map_scaler(p, SCALER_SCALE); p->params.downscaler = map_scaler(p, SCALER_DSCALE); +#if PL_API_VER >= 207 + p->params.plane_upscaler = map_scaler(p, SCALER_CSCALE); +#endif p->frame_mixer = opts->interpolation ? map_scaler(p, SCALER_TSCALE) : NULL; // Request as many frames as required from the decoder